The function extracts multiple statistical features relevant for classification of days as delivery or human wear. The extracted features are: mean, variance, maximum, absolute change, absolute energy, proportion of trial completed, 95th quantile, skewness, and kurtosis.
deliveryFeatures(df,...)
Arguments
df: A dataframe. The source accelerometry dataset, in dataframe format.
...: not used at this time
Returns
A dataframe is returned with a row for each unique day and a column for each feature.
Details
Function works for data consisting of one or multiple unique trials.
Note
The input dataframe should have the following columns: TimeStamp , axis1 , axis2 , axis3 , vm , where vm is the vector magnitude of axes 1, 2, and 3. Dataframe should also be formatted to 60 second epoch.