View source: R/transformations.R
daily | R Documentation |
Summarizes and averages activity data over a 24-hr period, generating a 24-hr daily activity pattern for plotting. The resulting data set contains four columns reflecting the proportions of time blocks scored as active, inactive, unknonw, or total.
daily(a, pass = TRUE)
a |
Data frame. Data from output of |
pass |
Logical. Pass 'extra' columns through the function and append them to the output. |
Output dates are irrelevant, as the data is tied to times, not dates. Therefore the dates are all assigned to 1970-01-01. When plotting, omit the date part of the label to accurately portray time only.
Resolution of the data is automatically detected as the same as that
specified in activity()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.