deliveryFeatures: Delivery Features

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/deliveryFeatures.R

Description

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.

Usage

1

Arguments

df

A dataframe. The source accelerometry dataset, in dataframe format.

...

not used at this time

Details

Function works for data consisting of one or multiple unique trials.

Value

A dataframe is returned with a row for each unique day and a column for each feature.

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.

Author(s)

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

See Also

deliveryPred

Examples

1
2
3
4
data(deliveryData)

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

PhysicalActivity documentation built on Jan. 23, 2021, 1:06 a.m.