Function for Calculating Daily Averages for Physical Activity Variables

Description

Not intended for direct use.

Usage

1
personvars(dayvars, rows, days, wk, we)

Arguments

dayvars

Matrix that contains daily physical activity variables.

rows

Number of rows in the matrix to be returned.

days

Minimum number of valid days required to be considered valid data for analysis.

wk

Minimum number of valid weekdays required to be considered valid data for analysis.

we

Minimum number of valid weekend days required to be considered valid data for analysis.

Value

Matrix with averages for physical activity variables.

Author(s)

Dane R. Van Domelen

References

Acknowledgment: This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE-0940903.