osnd_of_average: osnd_of_average

View source: R/PulseWaveform.R

osnd_of_averageR Documentation

osnd_of_average

Description

osnd_of_average identifies OSND points on the average waveform and individual waves.

Usage

osnd_of_average(aw, dp, diff, sr, plot = TRUE)

Arguments

aw

average waveform, or an individual waveform

dp

diastolic peak (as established by the diast_pk function)

diff

difference in x-axis values of the average waveform due to removal of NA values (outputted from diast_pk as xShift)

sr

sampling rate

plot

logical - for plotting the inputted waveform with identified OSND points

Value

osnd

OSND values for the inputted waveform

Examples

osnd <- osnd_of_average(avWave, dp = dPeak, diff = 0, sr = samplingRate, plot = F)

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