View source: R/PulseWaveform.R
diast_pk | R Documentation |
diast_pk finds the position of the diastolic peak (D) on the average wave so as to inform identification of OSND points on all individual waveforms. Since the average waveform being evaluated is also free from NA values, the resultant shift along the x-axis in terms of index points is also calculated.
diast_pk(avw, sr, scale = F, dias_param = NULL)
avw |
average waveform |
sr |
sampling rate |
scale |
logical - to establish bounds of y-axis |
dias_param |
optional - to inform search for D if the waveform is a HED modelled one |
diastPk |
diastolic peak position on the average waveform |
xShift |
difference in x-axis values of the average waveform due to removal of NA values |
tmp <- diast_pk(avw = avWave, sr = samplingRate, scale = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.