DDAWASS: Discrete Distribution Data Analysis with Wasserstein Distance

S4 classes and methods for the analysis of data described by discrete distributions with finite support (e.g. frequency distributions of ratings, scores or counts observed on groups of individuals), using the L2 Wasserstein metric between quantile functions. It is the discrete counterpart of 'HistDAWass' and provides exact Wasserstein distances (in C++), barycenters, Wasserstein variance, covariance and correlation, k-means and hierarchical clustering, quantile-based principal component and multiple factor analysis, two-component linear regression and reliability (Cronbach's alpha) indices. See Crocetta, Irpino, Antonucci and Marin (2025) <doi:10.1007/s11135-024-01956-0>.

Version: 1.0.0
Depends: R (≥ 4.0.0), methods
Imports: Rcpp (≥ 1.0.0), HistDAWass, FactoMineR, ggplot2, rlang, tibble, stats, utils, grDevices
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, CUB
Published: 2026-11-04
DOI: 10.32614/CRAN.package.DDAWASS (may not be active yet)
Author: Antonio Irpino ORCID iD [aut, cre, cph]
Maintainer: Antonio Irpino <antonio.irpino at unicampania.it>
BugReports: https://github.com/Airpino/DDAWASS/issues
License: GPL (≥ 3)
URL: https://github.com/Airpino/DDAWASS
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: DDAWASS results

Documentation:

Reference manual: DDAWASS.html , DDAWASS.pdf
Vignettes: 1. Building discrete distributional data (source, R code)
2. Basic statistics of discrete distributional data (source, R code)
3. Clustering discrete distributional data (source, R code)
4. Principal component analysis of discrete distributional data (source, R code)
4. Linear regression for discrete distributional data (source, R code)
5. Linear regression for discrete distributional data (source, R code)

Downloads:

Package source: DDAWASS_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): DDAWASS_1.0.0.tgz, r-oldrel (arm64): DDAWASS_1.0.0.tgz, r-release (x86_64): DDAWASS_1.0.0.tgz, r-oldrel (x86_64): DDAWASS_1.0.0.tgz

Linking:

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