diast_pk: diast_pk

View source: R/PulseWaveform.R

diast_pkR Documentation

diast_pk

Description

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.

Usage

diast_pk(avw, sr, scale = F, dias_param = NULL)

Arguments

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

Value

diastPk

diastolic peak position on the average waveform

xShift

difference in x-axis values of the average waveform due to removal of NA values

Examples

tmp <- diast_pk(avw = avWave, sr = samplingRate, scale = T)

stw32/PulseWaveform documentation built on Dec. 6, 2022, 2:50 a.m.