UnDetrend: UnDetrend

View source: R/PulseWaveform.R

UnDetrendR Documentation

UnDetrend

Description

UnDetrend is a function used as part of ISO data preprocessing. It reverses a detrending effect apparent when viewing the data and presumably originating from the hardware source, according to the inputted factor and offset values.

Usage

UnDetrend(ppg,factor,offset)

Arguments

ppg

ppg time series to be pre-processed / undetrended

factor

determines the degree of y-axis decay between data points in the time series

offset

determines the overall trend of the time series

Value

result

an undetrended ppg time series

Examples

ppg[,2] = UnDetrend(ppg,factor=factor_value,offset=offset_value)










stw32/PulseWaveform documentation built on Dec. 6, 2022, 2:50 a.m.