aggAcc: Aggregates multiple accelerometer summary files

Description Usage Arguments Value Author(s) Examples

View source: R/aggAcc.R

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

1
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

1
2
3
4
5
6
7
8
##
## Example
##
## Not run: 
mypath <- "C:/Accelerometry files/readfiles/summaryfiles"
aggAcc(mypath)

## End(Not run)

acc documentation built on May 1, 2019, 9:26 p.m.

Related to aggAcc in acc...