Depth-Based Classification and Calculation of Data Depth
Overview
Contains procedures for depth-based supervised learning, which are entirely non-parametric, in particular the DDalpha-procedure (Lange, Mosler and Mozharovskyi, 2014 doi:10.1007/s00362-012-0488-4). The training data sample is transformed by a statistical depth function to a compact low-dimensional space, where the final classification is done. It also offers an extension to functional data and routines for calculating certain notions of statistical depth functions. 50 multivariate and 5 functional classification problems are included. (Pokotylo, Mozharovskyi and Dyckerhoff, 2019 doi:10.18637/jss.v091.i05).
Install
Health
NOTER code for possible problemsr-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
Found calls to structure() using deprecated special names: ddalpha/R/compclassf.r (.Names: 1) ddalpha/R/ddalpha-internal.r (.Names: 15) ddalpha/R/knnaff.r (.Names: 2) '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK13 OK2026-05-02
- NOTE11 OK, 1 NOTE2026-04-25
Show 7 earlier changesHide 7 earlier changes
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-16
- NOTE11 OK, 3 NOTE2026-04-10
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-09
- NOTE13 OK, 1 NOTE2026-03-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 79includes a package overview page
- Examples that run
- 85%67 run in a plain check · 12 never run
- Exported functions with examples
- 100%
- Documented parameters
- 91%
- Return-value docs
- 80%
- Help pages citing references
- 58%
Downloads
Dependencies
Installing ddalpha adds 11 packages (4 with compiled code, 20 MB of source tarballs). Heaviest: BH 14 MB, robustbase 2.2 MB, Rcpp 1.8 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
- 1.3.16Latest
- RR 4.4.0 released · 2024-04-24
- 1.3.152024-01-12 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.3.132022-03-23 · diff ↗
- 1.3.122022-03-14 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.3.112020-01-09 · diff ↗
- 1.3.10
- RR 3.6.0 released · 2019-04-26
- 1.3.9
- 1.3.82019-01-06 · diff ↗
Show 26 earlier eventsHide 26 earlier events
- 1.3.72018-12-10 · diff ↗
- 1.3.42018-06-23 · diff ↗
- 1.3.32018-04-30 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.3.2
- 1.3.1.12018-02-02 · diff ↗
- 1.3.12017-09-27 · diff ↗ ·
added 25 exports
plot.functional, lines.functional, points.functional, FKS, shape.fd.analysis, shape.fd.outliers, depthf., depthf.BD, depthf.ABD, depthf.fd1, depthf.fd2, depthf.HR, depthf.hM, depthf.hM2, depthf.RP1, depthf.RP2, derivatives.est, L2metric, Cmetric, depth.sample, infimalRank, dataf.population, dataf.population2010, dataf2rawfd, rawfd2dataf - RR 3.4.0 released · 2017-04-21
- 1.2.1
- 1.2.0.12016-07-27 · diff ↗
- 1.2.02016-07-25 · diff ↗ ·
removed 1 export
nlm_optimize_radded 6 exports
ddalphaf.test, ddalphaf.getErrorRateCV, ddalphaf.getErrorRatePart, dknn.train, dknn.classify, dknn.classify.trained - RR 3.3.0 released · 2016-05-03
- 1.1.3.12015-07-24 · diff ↗
- 1.1.32015-07-23 · diff ↗ ·
removed 1 export
ddalpha.getErrorRateJKadded 5 exports
ddalpha.getErrorRatePart, depth.potential, depth.space.potential, resetPar, draw.ddplot - 1.1.2.32015-07-04 · diff ↗
- 1.1.2.22015-07-01 · diff ↗ ·
removed 2 exports
depth.randomTukey, depth.space.randomTukeyadded 8 exports
depth.halfspace, depth.simplicial, depth.simplicialVolume, depth.space.halfspace, depth.space.simplicial, depth.space.simplicialVolume, depth.contours, depth.contours.ddalpha - 1.1.1
- RR 3.2.0 released · 2015-04-16
- 1.1.02014-12-20 · diff ↗ ·
added 20 exports
nlm_optimize_r, ddalphaf.train, ddalphaf.classify, compclassf.train, compclassf.classify, depth.Mahalanobis, depth.projection, depth.spatial, depth.space.Mahalanobis, depth.space.projection, depth.space.spatial, depth.graph, getdata, dataf.geneexp, dataf.growth, dataf.medflies, dataf.tecator, dataf.sim.1.CFF07, dataf.sim.2.CFF07, plotf - RR 3.1.0 released · 2014-04-10
- 1.0.62014-03-28 · diff ↗
- 1.0.52014-03-16 · diff ↗
- 1.0.42013-05-16 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.0.32013-02-28
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2013-02-28
- Total releases
- 27 / 13 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 296 KB / 56 files
- Download size
- 478 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("ddalpha")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v091.i05.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.