Calculate total volume of activity level, which includes
TLAC (total log transfored activity counts),
TAC (total activity counts).
Tvol2(count.data, weartime, logtransform = FALSE, log.multiplier = 9250)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.
data.frame with dimension of count.data.
The first two columns have to be ID and Day.
if TRUE, then calcualte TLAC. Or calculate TAC.
number The coefficient used in the log transformation of the ENMO data, i.e. log( log.multiplier * ENMO + 1). Defaut is 9250.
A dataframe with some of the following columns
identifier of the person
indicator of which day of activity it is, can be a numeric vector of sequence 1,2,... or a string of date
total activity count
total log activity count
log transormation is defined as log(x+1).