deadwood: Outlier Detection via Trimming of Mutual Reachability Minimum Spanning Trees

Implements an anomaly detection algorithm based on mutual reachability minimum spanning trees: 'deadwood' trims protruding tree segments and marks small debris as outliers; see Gagolewski (2026) <https://deadwood.gagolewski.com/>. More precisely, the use of a mutual reachability distance pulls peripheral points farther away from each other. Tree edges with weights beyond the detected elbow point are removed. All the resulting connected components whose sizes are smaller than a given threshold are deemed anomalous. The 'Python' version of 'deadwood' is available via 'PyPI'.

Version: 0.9.0-2
Imports: Rcpp, quitefastmst
LinkingTo: Rcpp
Suggests: datasets
Published: 2026-02-20
DOI: 10.32614/CRAN.package.deadwood (may not be active yet)
Author: Marek Gagolewski ORCID iD [aut, cre, cph]
Maintainer: Marek Gagolewski <marek at gagolewski.com>
BugReports: https://github.com/gagolews/deadwood/issues
License: AGPL-3
URL: https://deadwood.gagolewski.com/, https://github.com/gagolews/deadwood
NeedsCompilation: yes
SystemRequirements: OpenMP
Materials: NEWS
CRAN checks: deadwood results [issues need fixing before 2026-03-06]

Documentation:

Reference manual: deadwood.html , deadwood.pdf

Downloads:

Package source: deadwood_0.9.0-2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=deadwood to link to this page.