View source: R/plot_model_parts.R
plot.model_parts | R Documentation |
Plot Variable Importance Explanations
## S3 method for class 'model_parts' plot(x, ...)
x |
an object of the class |
... |
other parameters described below |
An object of the class ggplot
.
max_vars
maximal number of features to be included in the plot. default value is 10
show_boxplots
logical if TRUE
(default) boxplot will be plotted to show permutation data.
bar_width
width of bars. By default 10
desc_sorting
logical. Should the bars be sorted descending? By default TRUE
title
the plot's title, by default 'Feature Importance'
subtitle
a character. Plot subtitle. By default NULL
- then subtitle is set to "created for the XXX, YYY model",
where XXX, YYY are labels of given explainers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.