downsample_ppg_data: Internal utility that creates a down-sampled data.frame of...

Description Usage Arguments Value

View source: R/fct_input_and_process.R

Description

Internal utility that creates a down-sampled data.frame of the ppg signal

Usage

1
2
3
4
5
6
7
downsample_ppg_data(
  ppg_data,
  sampling_rate,
  downsampled_rate = 100,
  ppg_col = "PPG",
  time_col = "Time"
)

Arguments

ppg_data

data.frame that contains the processed PPG data

sampling_rate

the original sampling rate in Hz of the PPG data

downsampled_rate

the downsampling rate for the PPG waveform to enable easier plotting. Default is 100 Hz

ppg_col

column name in ppg_data that contains the PPG signal

time_col

column name in ppg_data that contains the timing information corresponding with the PPG signal

Value

a data.frame with the down-sampled PPG signal


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