Learn R Programming

PhysicalActivity (version 0.2-4)

Process Accelerometer Data for Physical Activity Measurement

Description

It provides a function "wearingMarking" for classification of monitor wear and nonwear time intervals in accelerometer data collected to assess physical activity. The package also contains functions for making plot for accelerometer data and obtaining the summary of various information including daily monitor wear time and the mean monitor wear time during valid days. "deliveryPred" and "markDelivery" can classify days for ActiGraph delivery by mail; "deliveryPreprocess" can process accelerometry data for analysis by zeropadding incomplete days and removing low activity days; "markPAI" can categorize physical activity intensity level based on user-defined cut-points of accelerometer counts. It also supports importing ActiGraph AGD files with "readActigraph" and "queryActigraph" functions.

Copy Link

Version

Install

install.packages('PhysicalActivity')

Monthly Downloads

383

Version

0.2-4

License

GPL (>= 3)

Maintainer

Leena Choi

Last Published

January 22nd, 2021

Functions in PhysicalActivity (0.2-4)

dataSec

Accelerometer Data Example
deliveryFeatures

Delivery Features
markingTime

Mark Days
pa-internal

Internal functions
nthOccurance

Internal Function
sumVct

Summarize Wear and Nonwear Time Interval
deliveryData

Data Example for Mail Delivery Day Classification
summaryData

Summarize Classified Wear Time by Daily Basis
markPAI

Mark Physical Activity Intensity (PAI) Level
wearingMarking

Classify Wear and Nonwear Time for Accelerometer Data
plotData

Plot Accelerometer Data over Time
queryActigraph

Query ActiGraph File
timeFromYear1

Create Time From Seconds Since 0001-01-01
modeNames

Retrieve ActiGraph Column Names
marking

Marking Data with Wearing Tags
readActigraph

Read ActiGraph Accelerometer Data
deliveryThreshold

Delivery Count Threshold
markDelivery

Classify Mail Delivery and Non-Delivery Days for Accelerometer Data
validWindow

Define Days Within Window
readCountsData

Convert Accelerometer Output Data to a Correct Data Format
deliveryPrediction

Predict Delivery Days in Accelerometry Data
dataCollapser

Collapse Accelerometer Data to a Dataset with a Longer Epoch
agdSettings

Retrieve ActiGraph Settings
deliveryPred

Wrapper Function for Accelerometry data Preprocessing, Feature Extraction, and Delivery Prediction
deliveryPreprocess

Preprocess Accelerometry Data
PhysicalActivity-package

Process Accelerometer Data for Physical Activity Measurement
agdMetaKeys

Define Metadata Vector