Description Usage Arguments Value Examples
Plot counts of a category
1 | category_tally(data, category_column)
|
data |
A data frame or tibble |
category_column |
Unquoted column name of category (can be factor, character or numeric) |
A ggplot plot object
1 2 | category_tally(ggplot2::mpg, class)
category_tally(ggplot2::diamonds, cut)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.