plot_ecg_r_peak: Produce a multipage PDF file with plots showing the entire...

Description Usage Arguments Value See Also

Description

Plot the raw ECG data together with R-peaks. This allows the quality of the R-peak detection to be checked visually for the entire recording.

Usage

1
2
3
4
plot_ecg_r_peak(recording, filename, n = 60, signal = "ECG",
  signal.color = "blue", signal2 = NULL, signal2.color = "red",
  signal2.pch = 10, signal2.cex = 2, x.axis.type = "numeric",
  blockIDfield = "task")

Arguments

recording

A recording structure.

filename

The full path and filename in which to save the figure. The format is always PDF.

n

The number of seconds of ECG data to show per row in the plot (default is 60 seconds).

signal

The name of the ECG signal in the recording structure (default is 'ECG').

signal.color

The line color of the ECG signal. Default is 'blue'.

signal2

The name of the second signal in the recording structure (default is NULL, but 'ibi.amp' would be a typical choice).

signal2.color

The color of the points for the secondary signal. Default is 'red'.

signal2.pch

The point type used to plot the secondary signal. Default is 10.

signal2.cex

The point size used to plot the secondary signal. Default is 2.

Value

Nothing. Saves the figure as multipage PDF.

See Also

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


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