View source: R/PulseWaveform.R
preclean_wuv | R Documentation |
Preclean_wuv takes u, v and w values and assesses the x-axis (time) difference between them for each beat. For normal beats, time from u to w is around half (50 percent) of the time from u to v. Beats with abnormal / artefactual systolic upstrokes tend to have outlying values for this measure. Thus PreClean can identify and remove them.
preclean_wuv(w, uv, o, samp, sp, q = FALSE)
w |
vector of all x-axis coordinates corresponding to w points |
uv |
a dataframe containing x and y coordinates for all u and v values |
o |
vector of o points |
samp |
sample rate |
sp |
The original PPG time series, discrete form |
q |
Logical, will pause function and give the option of plotting rejected beats |
w |
as above, with aberrant beats removed |
uv |
" " |
o |
" " |
tmp <- preclean_wuv(w=w, uv=uv, o=o_orig, samp = samplingRate, sp = spline1, q = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.