Multivariate Outlier Explanations using Shapley Values and Mahalanobis Distances
Overview
Based on Shapley values to explain multivariate outlyingness and to detect and impute cellwise outliers. Includes implementations of methods described in Mayrhofer and Filzmoser (2023) doi:10.1016/j.ecosta.2023.04.003.
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Base package in Suggests/Enhances imported in NAMESPACE: ‘grDevices’
r-devel-windows-x86_64
Base package in Suggests/Enhances imported in NAMESPACE: 'grDevices'
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-09-12
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 16 (2 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 31% with a bibliography file
Downloads
Dependencies
Installing ShapleyOutlier adds 36 packages (17 with compiled code, 34 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, robustbase 2.2 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.2Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.1.12023-02-20 · diff ↗
- 0.1.02022-10-21
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-10-21
- Total releases
- 3 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 34 KB / 1 file
- Download size
- 701 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("ShapleyOutlier")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.ecosta.2023.04.003.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.