Description Usage Arguments Details Value
The raw acceleration is first filtered using a low pass butterworth filter. Then , the extracted signal can be scaled so that the norm of the the vector G is 1 at each second.
1 | static_acc(x, fs = 16, fc = 0.2, Gscale = TRUE, agg_1hz = TRUE)
|
x |
3 axes acceleration table with time in the first column and acceleration
axes in the following columns. Variables must be entitled |
fs |
sampling frequency of the input data (Hz). |
fc |
Cut-off frequency for the butterworth low pass filter (Hz) |
Gscale |
Should the values be scaled by the norm of the static acceleration vector ? |
agg_1hz |
Should the input be aggregated to 1 Hz ? |
This filtered acceleration can be used to compute pitch and roll angles
returns a data.frame with time, and X, Y and Z static accelearyion at 1 Hz.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.