plot_ecg: Plot a heartrate profile

Description Usage Arguments Value

View source: R/plot_ecg.R

Description

plot_ecg plots a heat rate profile.

Usage

1
plot_ecg(data, max_points = 10000, interactive = FALSE)

Arguments

data

A data.frame with columns timestamp (POSIXct) and ecg (numeric)

max_points

Maximum number of points to decimate data (10,000 by default)

interactive

Should the plot be interactive? FALSE by default. Requires package "plotly".

Value

A ggplot object if not interactive, a plotly object otherwise.


beats documentation built on March 26, 2020, 5:51 p.m.