qrs_detect: R-peak detection

Description Usage Arguments Value See Also

Description

R-peak detection

Usage

1
qrs_detect(ecg, samplingrate, interpolate = TRUE, invert_polarity = FALSE)

Arguments

ecg

A vector with the ECG signal

samplingrate

The sampling rate of the ECG signal

interpolate

Should the position of the R-peak be interpolated for improved accuracy. Default is TRUE.

invert_polarity

Should the polarity of the ECG signal be invertedy. Default is FALSE.

Value

A matrix with two columns. The x-index of the R-peaks are in the first column and the y-values of the ECG signal are in the second column

See Also

Other HRV: detect_artifacts_xu, plot_artifacts, qrs_interpolate, remove_ibi_artifacts


bwrc/colibri documentation built on May 13, 2019, 9:10 a.m.