Removes all sample with a zero in each of the three axes, and then (as default) imputes time gaps by the last recorded value per axis normalised to 1 _g_
g.imputeTimegaps(x, xyzCol, timeCol, sf, k = 0.25, impute = TRUE)
Data.frame based on input x with timegaps imputed (as default) or with recordings with 0 values in the three axes removed (if impute = FALSE)
Data.frame with raw accelerometer data, and a timestamp column with millisecond resolution.
Columnnames or numbers for the x, y and z column
Column name or number for the timestamp column
Sample frequency in Hertz
Minimum time gap length to be imputed
Boolean to indicate whether the time gaps identified should be imputed
Vincent T van Hees <v.vanhees@accelting.com>