SHAPforxgboost: SHAP Plots for 'XGBoost'

Aid in visual data investigations using SHAP (SHapley Additive exPlanation) visualization plots for 'XGBoost' and 'LightGBM'. It provides summary plot, dependence plot, interaction plot, and force plot and relies on the SHAP implementation provided by 'XGBoost' and 'LightGBM'. Please refer to 'slundberg/shap' for the original implementation of SHAP in 'Python'.

Version: 0.1.3
Depends: R (≥ 3.5.0)
Imports: stats, ggplot2 (≥ 3.0.0), xgboost (≥, data.table (≥ 1.12.0), ggforce (≥, ggExtra (≥ 0.8), RColorBrewer (≥ 1.1.2), ggpubr, BBmisc
Suggests: knitr, rmarkdown, gridExtra (≥ 2.3), here, parallel, lightgbm (≥ 2.1)
Published: 2023-05-29
DOI: 10.32614/CRAN.package.SHAPforxgboost
Author: Yang Liu ORCID iD [aut, cre], Allan Just ORCID iD [aut, ctb], Michael Mayer [ctb]
Maintainer: Yang Liu <lyhello at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: SHAPforxgboost results


Reference manual: SHAPforxgboost.pdf
Vignettes: Basic Workflow


Package source: SHAPforxgboost_0.1.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): SHAPforxgboost_0.1.3.tgz, r-oldrel (arm64): SHAPforxgboost_0.1.3.tgz, r-release (x86_64): SHAPforxgboost_0.1.3.tgz, r-oldrel (x86_64): SHAPforxgboost_0.1.3.tgz
Old sources: SHAPforxgboost archive


Please use the canonical form to link to this page.