aggregate_to_month | R Documentation |
Compute Totals over a given time period (month)
aggregate_to_month(
data,
pd,
by = c("AgeClass", "vaccination_status"),
aggv,
cumv
)
data |
data.frame data |
pd |
character period label to mutate in Week column |
by |
character vector of column names to group_by |
aggv |
character vector of columns that can be aggregated (daily record) |
cumv |
character vector of columns that are cumulative (daily record) and should not be aggregated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.