View source: R/PulseWaveform.R
osnd_fit | R Documentation |
osnd_fit identifies OSND points on both original waveforms and model-generated waveforms, such that the HED model's ability to recapitulate important morphological features and fiducial points can be assessed.
osnd_fit(bf = beat_final, ppg, gs = model2.GetSegment, r = model2.Rebuild2, sf = splinefun, dp = diast_pk, oa = osnd_of_average, sr = samplingRate, plot = FALSE)
bf |
finalised model parameter outputs |
ppg |
ppg time series |
gs |
model2.GetSegment function |
r |
model2.Rebuild2 function |
sf |
splinefun function |
dp |
diast_pk function |
oa |
osnd_of_average function |
sr |
sampling rate |
plot |
logical, plots each waveform with modelled version superimposed, as well as OSND points for each |
osnd_diff |
list of values representing the error between model-generated OSND values and actual OSND values |
osnd_fits <- osnd_fit(beat_final, ppg, plot = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.