plot.predict_profile {DALEX} | R Documentation |
Plot Variable Profile Explanations
Description
Plot Variable Profile Explanations
Usage
## S3 method for class 'predict_profile'
plot(x, ...)
Arguments
x |
an object of the class |
... |
other parameters |
Value
An object of the class ggplot
.
Plot options
ceteris_paribus
color
a character. Either name of a color or name of a variable that should be used for coloringsize
a numeric. Size of lines to be plottedalpha
a numeric between0
and1
. Opacity of linesfacet_ncol
number of columns for thefacet_wrap
variables
if notNULL
then onlyvariables
will be presentedvariable_type
a character. Ifnumerical
then only numerical variables will be plotted. Ifcategorical
then only categorical variables will be plotted.title
a character. Plot title. By default"Ceteris Paribus profile"
.subtitle
a character. Plot subtitle. By defaultNULL
- then subtitle is set to "created for the XXX, YYY model", where XXX, YYY are labels of given explainers.categorical_type
a character. How categorical variables shall be plotted? Either"lines"
(default) or"bars"
.