aggAcc | R Documentation |
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.
aggAcc(path)
path |
Path to accelerometer summary files created by function acc or accBatch |
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.
Jaejoon Song <jjsong2@mdanderson.org>
##
## Example
##
## Not run:
mypath <- "C:/Accelerometry files/readfiles/summaryfiles"
aggAcc(mypath)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.