category_contribution: Plot the contribution of different categories to a measure

Description Usage Arguments Value Examples

View source: R/contributions.R

Description

Plot the contribution of different categories to a measure

Usage

1

Arguments

data

A data frame or tibble

category

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

measure

Unquoted name of measure

Value

A ggplot plot object

Examples

1
2
category_contribution(ggplot2::diamonds, cut, price)
category_contribution(ggplot2::diamonds, clarity, price)

kviswana/ezEDA documentation built on July 1, 2021, 1:02 p.m.