Learn R Programming

ggRandomForests (version 3.5.0)

shap_beeswarm: SHAP beeswarm summary plot

Description

The signature SHAP summary: one jittered point per (observation, variable), positioned by SHAP value and colored by the feature value, min-max scaled to [0, 1] within each variable so every variable's own range maps to the full color gradient. Categorical features have no numeric value and render as a neutral gray (no numeric value to scale).

Usage

shap_beeswarm(x, ...)

Value

A ggplot object.

Arguments

x

A gg_shap object.

...

Unused.

See Also

gg_shap plot.gg_shap