View source: R/PulseWaveform.R
UnDetrend | R Documentation |
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.
UnDetrend(ppg,factor,offset)
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 |
result |
an undetrended ppg time series |
ppg[,2] = UnDetrend(ppg,factor=factor_value,offset=offset_value)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.