group_by_keys | R Documentation |
Group table instances by keys aggregating the measures using the corresponding aggregation function.
group_by_keys(table, keys, measures, agg_functions, nrow_agg)
table |
A |
keys |
A vector of strings, key names to group by. |
measures |
A vector of strings, measures to aggregate. |
agg_functions |
A vector of strings, aggregate functions. |
nrow_agg |
A string, name of a new column to count the number of rows aggregated. |
A tibble
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.