Description Usage Arguments Value Examples
This function is a whole dataset wrapper for Time
1 2 |
count.data |
|
weartime |
|
thresh |
threshold to binarize the data. |
smallerthan |
Find a state that is smaller than a threshold, or greater than or equal to. |
bout.length |
minimum duration of defining an active bout; defaults to 1. |
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 |
1 2 3 4 5 | data(example_activity_data)
count = example_activity_data$count
wear = example_activity_data$wear
sed_all = Time_long(count.data = count,weartime = wear,
thresh = 100,bout.length = 1,smallerthan = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.