viz_classbalance: Visualise Class Imbalance

Description Usage Arguments Value Examples

View source: R/viz_classbalance.R

Description

Visualise Class Imbalance

Usage

1
viz_classbalance(data, variable, n_max = 25)

Arguments

data

A data.frame.

variable

target variable to show balance for.

n_max

integer, maximum number of classes shown before lumping. Defaults to 25.

Value

ggplot2 object.

Examples

1

EmilHvitfeldt/horus documentation built on June 12, 2021, 7 p.m.