OffsetAdjust: OffsetAdjust

OffsetAdjustR Documentation

OffsetAdjust

Description

OffsetAdjust identifies the most appropriate offset value to be used in undetrending an ISO study ppg time series (for inputting into the Undetrend function). It is used within the FindUndetrendingParams function once a factor value has been determined.

Usage

OffsetAdjust(ppg3, ppg, u = UnDetrend, factor_value, plot = F)

Arguments

ppg3

the ppg time series adjusted for a given factor value

ppg

the original ppg time series

u

Undetrend function

factor_value

the appropriate factor value for restoring proper morphology to the ppg time series

plot

logical, if TRUE, plots the entire time series for each iteration of offset adjustment, thereby visualising the adjustment as it occurs

Value

offset_value

determines the overall trend of the time series

Examples

OffsetAdjust(ppg3, ppg, u = UnDetrend, factor_value, plot = F)










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