deliveryFeatures function

Delivery Features

Delivery Features

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.

Examples

data(deliveryData) deliveryDataProcessed <- deliveryPreprocess(df = deliveryData) deliveryDataFeats <- deliveryFeatures(df = deliveryDataProcessed)

See Also

deliveryPred

Author(s)

Ryan Moore ryan.moore@vumc.org , Cole Beck cole.beck@vumc.org , and Leena Choi leena.choi@Vanderbilt.Edu

  • Maintainer: Leena Choi
  • License: GPL (>= 3)
  • Last published: 2021-01-22

Useful links