load_ppg: Internal utility for loading raw photoplethysmogram (PPG)...

Description Usage Arguments Value

View source: R/fct_input_and_process.R

Description

load_ppg_data loads the selected raw PPG data for subsequent processing and editing. Accepts tab-delimited .txt formats only.

Usage

1
2
3
4
5
6
load_ppg(
  file_name = NULL,
  skip_lines = NULL,
  column = NULL,
  sampling_rate = NULL
)

Arguments

file_name

is of type character and identifies the file path containing the raw PPG signal.

skip_lines

is of type int and specifies the number of lines in the raw file to skip.

column

is of type int and specifies the column containing in the raw file containing the desired PPG signal.

sampling_rate

is of type int and specifies the hardware sampling rate for the raw signal in Hz

Value

returns a data.frame that contains the pre-processed PPG signal and a corresponding set of time codes, initialized at 0.


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