Calculate voltage metrics for each waveform
wave_volts.Rd
The function wave_volts calculates the voltage metrics for each waveform instance
Value
A tibble object containing a row per waveform instance and four columns is returned: waveform, mean_volts, sd_volts, relative_amplitude.
Details
Labeled data is grouped by each waveform instance and the following three voltage metrics are returned: mean, SD, and relative amplitude. The SD is the mathematical SD of volts. Mean is first corrected for by subtracting the starting voltage, then the mean (adjusted) voltage is returned. The waveform type 'pd' without any splitting into subforms is calculated separately. As a result, the pd calculations will appear all at the end of the table. The subforms, pd1 and pd2, will appear in sequence.
Relative amplitude is a percent calculated with the following formula: Relative amplitude = |(mean of waveform - mean of nonprobing)|x100/5
See also
Other waveform functions:
plot_pie()
,
plot_wave()
,
wave_duration()
,
wave_extract()
,
wave_occurrence()
,
wave_topfreq()