View source: R/PulseWaveform.R
model2.SubtractExcessPeak | R Documentation |
model2.SubtractExcessPeak removes modelled component sine waves from excess segments of the ppg time series.
model2.SubtractExcessPeak(time, residue, peakParams)
time |
x-values of ppg time series |
residue |
excess component of ppg time series (before or after the extraction of other component waves) |
peakParams |
vector of three parameters to construct the component sine wave to be removed |
result |
excess time series with modelled sine wave subtracted (residue) |
residue <- sep(data[,1],residue,par[8:10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.