getAmplitude | R Documentation |
Calculate amplitude in wing beats
getAmplitude(dat, window, time, frequency = NULL)
dat |
Vector of accelerometer X value |
window |
Size of moving window for estimating peaks, in seconds |
time |
Vector of POSIXct times, should use %H:%M:%OS if sampling frequency >1 Hz |
frequency |
Sampling frequency of data, in Hz, if missing the function will estimate frequency from time |
Calculates inter-quartile range using a moving window of time*frequency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.