Description Usage Arguments Value Examples
This function plots daily activity profile.
1 | activity_profile(data, wear, id, day, h = 100)
|
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 |
a plot
1 2 | data(act)
activity_profile(data=act,wear=flag,id=21062,day=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.