Learn R Programming

ezEDA (version 0.1.1)

category_tally: Plot counts of a category

Description

Plot counts of a category

Usage

category_tally(data, category_column)

Arguments

data

A data frame or tibble

category_column

Unquoted column name of category (can be factor, character or numeric)

Value

A ggplot plot object

Examples

Run this code
# NOT RUN {
category_tally(ggplot2::mpg, class)
category_tally(ggplot2::diamonds, cut)
# }

Run the code above in your browser using DataLab