Skip to contents

Computes RR interval from heart rate.

Usage

compute_rr(hr)

Arguments

hr

Heart rate

A numeric vector is expected. It is expected that heart rate is measured in beats/min.

Value

RR interval in msec: $$\frac{60000}{HR}$$

Details

Usually this computation function can not be used with %>%.

Examples

compute_rr(hr = 70.14)
#> [1] 855.432