add_ppg_waveform: Internal 'ibiVizEdit' utility that adds PPG to plot

Description Usage Arguments

View source: R/utils_graphing.R

Description

Internal ibiVizEdit utility that adds PPG to plot

Usage

1
2
3
4
5
6
7
add_ppg_waveform(
  base_plot = NULL,
  ppg_data = NULL,
  show_ppg = FALSE,
  time_col = "Time",
  ppg_col = "PPG"
)

Arguments

base_plot

is a ggplot2 object, typically generated by generate_base_gui_plot

ppg_data

is a data.frame that contains the processed PPG signal and a time variable.

show_ppg

logical value based on user selection. Status governs the display of underlying PPG signal

time_col

is of type character and is the column name in the ppg_data that contains the time variable

ppg_col

is of type character and is the column name in the ppg_data that contains the PPG signal


dr-consulting/ibi_VizEdit documentation built on Jan. 1, 2021, 12:04 a.m.