Description Usage Arguments Details Value Note Author(s) See Also Examples
View source: R/deliveryFeatures.R
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.
1 |
df |
A dataframe. The source accelerometry dataset, in dataframe format. |
... |
not used at this time |
Function works for data consisting of one or multiple unique trials.
A dataframe is returned with a row for each unique day and a column for each feature.
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.
Ryan Moore ryan.moore@vumc.org, Cole Beck cole.beck@vumc.org, and Leena Choi leena.choi@Vanderbilt.Edu
1 2 3 4 | data(deliveryData)
deliveryDataProcessed <- deliveryPreprocess(df = deliveryData)
deliveryDataFeats <- deliveryFeatures(df = deliveryDataProcessed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.