Description Usage Arguments Value Author(s) References
This function adds a "day" variable to the source dataset. The day is marked in numeric order, according to the timestamp variable.
1 | markingTime(dataset, timestamp, startTime = "00:00:00", tz = "UTC")
|
dataset |
The source dataset, in dataframe format, which needs to be marked. |
timestamp |
The column name in the dataset that will be used as timestamp. |
startTime |
Define the starting time of a day. It must be in the format of "hh:mm:ss". |
tz |
Local time zone, defaults to UTC. |
A dataframe with an extra day marking column.
Zhouwen Liu zhouwen.liu@vumc.org
Choi L, Liu Z, Matthews CE, Buchowski MS. Validation of accelerometer wear and nonwear time classification algorithm. Med Sci Sports Exerc. 2011 Feb;43(2):357-64.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.