Description Usage Arguments Value Examples
This function returns the counts of specified group(s) within a tibble, sorted in decreasing order of count
1 |
data |
A tibble of interest the contains the data to pull counts from |
... |
A list of variables present in the tibble to group-by. When not present, returns the total count in the tibble |
A tibble containing the summarized counts for each group in the variable(s) specified, sorted in decreasing order of count
1 2 3 4 | group_counts(datateachr::vancouver_trees, neighbourhood_name)
datateachr::vancouver_trees %>% group_counts(neighbourhood_name)
group_counts(datateachr::vancouver_trees, neighbourhood_name, curb, height_range_id)
group_counts(tibble::as_tibble(iris), Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.