Description Usage Arguments See Also
Groups a dataframe by one or more columns (named by groupcol). This does exactly what
COUNT(*) GROUP BY does in SQL.
1 2 | CountByGroup(data, groupcol, count_to_data = FALSE,
countname = "count", groupname = "groupID")
|
data |
A dataframe. |
dplyr::group_by()
and dplyr::count()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.