viz_factor | R Documentation |
Visualize categorical features
viz_factor(
data,
outcome,
outcome_type,
positive_class = NA,
var,
na_remove = T,
lump = T,
prop = 0.01,
string_miss = T
)
data |
dataframe |
outcome |
outcome name in string format |
outcome_type |
either 'classification' or 'regression' |
positive_class |
if doing binary classification specify the positive class |
var |
feature name in string format |
na_remove |
specify the removal of outliers |
lump |
group all levels underneath a certain threshold as 'other' |
prop |
if using lump specify the proportion |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.