View source: R/methods-epi_df.R
sum_groups_epi_df | R Documentation |
epi_df
objectAggregates an epi_df
object by the specified group columns, summing the
value
column, and returning an epi_df
. If aggregating over geo_value
,
the resulting epi_df
will have geo_value
set to "total"
.
sum_groups_epi_df(.x, sum_cols = "value", group_cols = character())
.x |
an |
sum_cols |
character vector of the columns to aggregate |
group_cols |
character vector of column names to group by. "time_value" is included by default. |
an epi_df
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.