View source: R/aggregate.by.day.R
Aggregate the raw data into an equally-spaced data frame
1 | aggregate_by_day(dat, variable, ID, timestamp, agg_fun)
|
dat |
Data in a data.frame format |
variable |
Name of variable in the data set you would like to re-structure |
ID |
Name of ID variable in the data set |
timestamp |
Name of time variable in the data set |
agg_fun |
Function used for aggregation. Default is sum. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.