activity_profile: activity_profile

Description Usage Arguments Value Examples

Description

This function plots daily activity profile.

Usage

1
activity_profile(data, wear, id, day, h = 100)

Arguments

data

a data frame where each row is one subject day and column 1 and 2 are id and day, and fowllowing colums are minute level activity count

wear

a data frame of similar strucutre to previous one containing wear/nonwear flag

id

id of the subject

day

day number of the subject

h

threshold determining sedentary and active, default is 100

Value

a plot

Examples

1
2
data(act)
activity_profile(data=act,wear=flag,id=21062,day=1)

junruidi/actcool documentation built on May 20, 2019, 4:25 a.m.