Tvol2: Total Volumen of Activity for Whole Dataset

Description Usage Arguments Details Value

View source: R/Tvol2.R

Description

Calculate total volume of activity level, which includes TLAC (total log transfored activity counts), TAC (total activity counts).

Usage

1
Tvol2(count.data, weartime, logtransform = FALSE, log.multiplier = 9250)

Arguments

count.data

data.frame of dimension n*1442 containing the 1440 minute activity data for all n subject days. The first two columns have to be ID and Day.

weartime

data.frame with dimension of count.data. The first two columns have to be ID and Day.

logtransform

if TRUE, then calcualte TLAC. Or calculate TAC.

log.multiplier

number The coefficient used in the log transformation of the ENMO data, i.e. log( log.multiplier * ENMO + 1). Defaut is 9250.

Details

log transormation is defined as log(x+1).

Value

A dataframe with some of the following columns

ID

identifier of the person

Day

indicator of which day of activity it is, can be a numeric vector of sequence 1,2,... or a string of date

TAC

total activity count

TLAC

total log activity count


postGGIR documentation built on July 14, 2021, 5:11 p.m.