PAfun: Timne Metrics for Whole Dataset

Description Usage Arguments Value

View source: R/Time2.R

Description

This function is a whole dataset wrapper for Time

Usage

1
PAfun(count.data, weartime, PA.threshold = c(50, 100, 400))

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.

PA.threshold

threshold to calculate the time in minutes of sedentary, light, moderate and vigorous activity the data.

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

time

time of certain state


postGGIR documentation built on Jan. 6, 2022, 5:08 p.m.