mad | R Documentation |
Calculate mean absolute deviation from triaxial accelerometer data for a collection of time points.
mad(x, y, z, roll = FALSE, window = 94)
x |
First accelerometer channel. |
y |
Second accelerometer channel. |
z |
Third accelerometer channel. |
roll |
Should mad be calculated using a sliding window? |
window |
What number of observations should be used in the sliding window? Default is 94, as Zio measures approximately 94 observations per minute. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.