Skip to contents

Join time- and frequency-domain HRV into one row per channel

Usage

pp_hrv_combine(hrv_time, hrv_freq)

Arguments

hrv_time

Output of PhysioECG::ecgHRVtime().

hrv_freq

Output of PhysioECG::ecgHRVfreq().

Value

A data frame merged on channel.

Examples

hrv_time <- data.frame(channel = "MLII", sdnn = 50, rmssd = 42)
hrv_freq <- data.frame(channel = "MLII", lf = 400, hf = 330)
pp_hrv_combine(hrv_time, hrv_freq)
#>   channel sdnn rmssd  lf  hf
#> 1    MLII   50    42 400 330