View source: R/PulseWaveform.R
find_u_v | R Documentation |
find_u_v identifies the points on the systolic upstroke that correspond to the two half maximum values on the corresponding first derivative peak. The first, before w, is denoted U. The second, after w, is denoted V.
find_u_v(wx, wy, d1, d1p, spline, sr, plot)
wx |
A vector of x-coordinates corresponding to w points on the PPG time series |
wy |
A vector of y-coordinates corresponding to w points on the PPG time series |
d1 |
The first derivative time series, discrete form |
d1p |
The first derivative time series, polynomial spline form |
spline |
The original PPG time series, polynomial spline form |
sr |
samplingRate |
plot |
Logical, will plot the first derivative time series with U and V values as points if set to true |
uX |
A vector of x-xoordinates corresponding to U points on the PPG time series |
uY |
A vector of y-xoordinates corresponding to U points " " |
vX |
A vector of x-xoordinates corresponding to V points " " |
vY |
A vector of y-xoordinates corresponding to V points " " |
find_u_v(wx = w$wX, wy = w$wY, d1 = deriv1, d1p = deriv1Poly, spline = splinePoly, sr = samplingRate, plot=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.