plot_metric: Plot a metric.

Description Usage Arguments Value See Also

Description

Plot a metric.

Usage

1
plot_metric(recording, metric, filename, new.plot = TRUE, blockid = NULL)

Arguments

recording

A recording structure. That must contain the results structure.

metric

The metric to plot. The metric must be found in the results structure.

filename

The full path and filename in which to save the figure. If NULl (default), the figure is not saved. The format of the figure (PDF or PNG) is automatically determined from the filename extension. The size of the figure is an A4 in landscape mode.

new.plot

Boolean indicating whether a new plot window should be opened (optional, default is TRUE).

blockid

The ID of the measurement block (optional, default is NULL, which corresponds to plotting all data).

Value

Nothing. Produces a plot or saves the figure.

See Also

Other visualizations: plot_all_blocks, plot_block, plot_check_rr_detection, plot_ecg_r_peak, plot_spectrum, shade_frequency_band


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