getPitch | R Documentation |
Calculate pitch
getPitch(
X,
Y,
Z,
window,
time,
frequency = NULL,
standVar = NULL,
standMin = NULL,
standMax = NULL
)
X |
Vector of accelerometer X value |
Y |
Vector of accelerometer Y value |
Z |
Vector of accelerometer Z 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 |
standVar |
Variable to use in standardizing pitch values, if desired |
standMin |
Minimum value in standVar for standarization |
standMax |
Maximum value in standVar for standarization |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.