Description Usage Arguments Value Examples
View source: R/viz_classbalance.R
Visualise Class Imbalance
| 1 | viz_classbalance(data, variable, n_max = 25)
 | 
| data | A data.frame. | 
| variable | target variable to show balance for. | 
| n_max | integer, maximum number of classes shown before lumping. Defaults to 25. | 
ggplot2 object.
| 1 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.