aggAcc {acc} | R Documentation |
Aggregates multiple accelerometer summary files
Description
Aggregates multiple accelerometer summary files (e.g. summary files for multiple individuals) by day. This function can be used in sequence with readRawBatch and accBatch.
Usage
aggAcc(path)
Arguments
path |
Path to accelerometer summary files created by function acc or accBatch |
Value
A folder ‘aggregate’ is created within the specified path. In the folder, aggregate.Rdata file (object ‘aggregate’) consists of columns [ID, Date, SedentaryMinutes, wearTime, numberOfBoutsSed, mvpaMinutes, numberOfBoutsMVPA], where ID is the filename.
Author(s)
Jaejoon Song <jjsong2@mdanderson.org>
Examples
##
## Example
##
## Not run:
mypath <- "C:/Accelerometry files/readfiles/summaryfiles"
aggAcc(mypath)
## End(Not run)
[Package acc version 1.3.3 Index]