dynamic_acc: Dynamic (Body) acceleration DBA

Description Usage Arguments Details Value

Description

DBA is calculated by smoothing data for each axis to calculate the static acceleration (static_acc), and then subtracting it from the raw acceleration.

Usage

1
dynamic_acc(x, fs = 16, agg_1hz = TRUE, ...)

Arguments

x

3 axes acceleration table with time in the first column and acceleration axes in the following columns. Variables must be entitled "time" for time, "ax", "ay", and "az" for x, y and z accelerometer axes.

fs

sampling frequency of the input data (Hz).

agg_1hz

Should the input be aggregated to 1 Hz ?

...

Parameters to be passed to static_acc (e.g fc).

Details

This filtered acceleration can be used to compute ODBA and VeDBA.

Value

returns a data.frame with time, and X, Y and Z static accelearyion at 1 Hz.


SESman/rbl documentation built on May 9, 2019, 11:10 a.m.