View source: R/date_aggregate.R
condense_dt | R Documentation |
data.frame
to a lower frequencyCondense time series in a data.frame
to a lower frequency
condense_dt( dates_df, to_period = c("weekly", "monthly", "quarterly", "annual"), aggregate_by = c("last", "sum", "avg", "median") )
dates_df |
|
to_period |
string indicating the frequency to convert data to |
aggregate_by |
string indicating how to aggregate data |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.