shapviz
0.10.4SHAP Visualizations
Overview
Visualizations for SHAP (SHapley Additive exPlanations), such as waterfall plots, force plots, various types of importance plots, dependence plots, and interaction plots. These plots act on a 'shapviz' object created from a matrix of SHAP values and a corresponding feature dataset. Wrappers for the R packages 'xgboost', 'lightgbm', 'fastshap', 'shapr', 'h2o', 'treeshap', 'DALEX', and 'kernelshap' are added for convenience. By separating visualization and computation, it is possible to display factor variables in graphs, even if the SHAP values are calculated by a model that requires numerical features. The plots are inspired by those provided by the 'shap' package in Python, but there is no dependency on it.
Maintenance
- XGBoost related changes in the documentation (#186):
nthreadis now part ofxgb.train(params = list(...))- Due to updates in both the fit algorithm and the TreeSHAP implementation,
some pictures look different now, e.g., in the README.
- fastshap is now on R-universe, so we have updated the dependency (#186).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 27includes a package overview page
- Examples that run
- 96%23 run in a plain check · 1 never run
- Exported functions with examples
- 93%
- Documented parameters
- 93%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/modeloriented/shapviz on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-31 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing shapviz adds 38 packages (21 with compiled code, 43 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.10.4Latest
- RR 4.6.0 released · 2026-04-24
- 0.10.32025-10-13 · diff ↗
- 0.10.22025-07-17 · diff ↗
- 0.10.12025-06-23 · diff ↗
- 0.10.02025-06-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.9.72025-01-19 · diff ↗
- 0.9.62024-10-11 · diff ↗
- 0.9.52024-09-14 · diff ↗
- 0.9.42024-08-21 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.9.32024-01-12 · diff ↗
- 0.9.22023-10-14 · diff ↗
- 0.9.12023-07-18 · diff ↗
- 0.9.0
Show 13 earlier eventsHide 13 earlier events
Package metadata
- First published
- 2022-06-10
- Total releases
- 24 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 634 KB / 1 file
- Download size
- 1.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("shapviz")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.