Description Usage Arguments Value
Aggregate Data by ID
1 2 | aggregateData(data, id = NULL, fun = "mean", save.path = TRUE,
timestep = 10)
|
data |
(data.frame) a data.frame of values to aggregate |
id |
(character) the coloumn name to aggregate by |
fun |
(character) the function to use in aggregation (i.e. mean) |
save.path |
(character) where should a csv be written to? |
timestep |
(numeric) number of observations to aggregate |
a data.frame of aggregated values by id
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.