sensorsToFeatures: Function to extract featurese from raw sensor data

Description Usage Arguments Value Author(s) See Also

Description

Extracts features from accelerometer and/or GPS data.

Usage

1
sensorsToFeatures(accelerometers = NULL, GPS = NULL, winSize, names = NULL)

Arguments

accelerometers

(Optional) Path to a directory (or a list of paths to multiple directories) containing actigraph accelerometer data files. Accelerometer data files should be csv files output in "raw" format by ActiLife (without timestamps), and named by the participant identifier, e.g., Participant01.csv.

GPS

(Optional) Path to a PALMS-processed GPS data file (or a directory containing GPS data files). GPS data files should be in csv format with the following fields: identifier, dateTime, speed, ele, elevationDelta, lat, lon, nsatView, snrView. identifier should be the participant identifier, e.g. Participant01. If GPS is a path to a directory, each file in the directory should correspond to a participant, and the file name should be the participant identifier, e.g., Participant01.csv.

winSize

Window size in seconds.

names

(Optional) List of identifiers to use.

Value

List of feature directories created.

Author(s)

Kat Ellis

See Also

trainModel


TLBC documentation built on May 1, 2019, 8:44 p.m.