qrsdet: detect the R-peaks in a ecg signal

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

detect the R-peaks in a ecg signal

Usage

1
qrsdet(input)

Arguments

input

A numeric vector representing the ecg

Value

a numeric vector with the indices of the R-peaks

Examples

1
2
3
data(ecg)
plot(ecg, type="l", xlim=c(10*200, 15*200))
abline(v = qrsdet(ecg), col=2, lty=2)

gdupret/eplimited documentation built on May 17, 2019, 12:13 a.m.