SHAP value against the value of a single feature — the SHAP analog of a partial-dependence plot. Numeric features use a continuous x-axis; factor or character features fall back to their labels on a discrete axis.
Arguments
- x
A
gg_shapobject.- xvar
The variable to plot. When
NULL, the top-ranked variable (largest mean absolute SHAP) is used.- ...
Unused.