findbpm: Determine heart rate

Description Usage Arguments Value

Description

Find heart rate from a ecg in BIOPAC AcqKnowledge file format.

Usage

1
findbpm(x, t = 30, bounds = c(0, 10000))

Arguments

x

A vector of voltages of an ecg from AcqKnowledge

t

Specifies how long the entire file is in seconds. Default is 30 seconds.

Value

a single integer, the average heart rate in bpm, will be returned


KirtOnthank/BIOL464 documentation built on May 23, 2019, 8:01 p.m.