category_contribution {ezEDA}R Documentation

Plot the contribution of different categories to a measure

Description

Plot the contribution of different categories to a measure

Usage

category_contribution(data, category, measure)

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

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

[Package ezEDA version 0.1.1 Index]