Skip to contents

Resamples the RR-interval series uniformly at fs_interp Hz, estimates a Welch PSD, and integrates VLF (0.003–0.04 Hz), LF (0.04–0.15 Hz), and HF (0.15–0.40 Hz) bands.

Usage

hrvfd(rr, fs_interp = 4)

Arguments

rr

Numeric vector of RR intervals in milliseconds.

fs_interp

Uniform resampling frequency in Hz (default 4).

Value

List with value (total power), name, and extra (vlf, lf, hf, lf_hf_ratio, total_power, lf_norm, hf_norm).

Details

Reference: Task Force (1996), Circulation 93(5):1043–1065.

Examples

# \donttest{
set.seed(1)
rr <- 800 + cumsum(rnorm(200, sd = 20))
res <- hrvfd(rr)
res$extra$lf_hf_ratio
#> [1] 7.459558
# }