find_average: find_average

View source: R/PulseWaveform.R

find_averageR Documentation

find_average

Description

find_average generates an average (mean) wave from a sample of segmented waveforms. Due to variance in waveform length, the tail section of the average wave is less robustly calculated, and relies on a degree of inference as to the likely trajectories of waveforms that terminate before the average length is reached.

Usage

find_average(p, ao)

Arguments

p

dataframe consisting of all segmented waveforms

ao

a vector indicating the end point of each waveform

Value

avWave

a vector consisting of values for the average waveform

Examples

average_wave <- find_average(p = pulse, ao = afterO)

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