Description Usage Arguments Details Value
Group and summarize a dataframe by specific "strata" or groupings.
1 | summarize_by_strata(d, stratcols, summexpr)
|
d |
The dataframe to be summarized. |
stratcols |
Vector or list of column names to group by. |
summexpr |
Named vector or list of expressions to summarize the data. |
This function is basically a wrapper for the summarize
and
group_by
functions provided by dplyr
.
A dataframe containing grouped and summarized data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.