Quantifying Similarity of Datasets and Multivariate Two- And k-Sample Testing
Overview
A collection of methods for quantifying the similarity of two or more datasets, many of which can be used for two- or k-sample testing. It provides newly implemented methods as well as wrapper functions for existing methods that enable calling many different methods in a unified framework. The methods were selected from the review and comparison of Stolte et al. (2024) doi:10.1214/24-SS149. An empirical comparison of the methods was performed in Stolte et al. (2026) doi:10.48550/arXiv.2604.11458 for categorical data and in Stolte et al. (2026) doi:10.48550/arXiv.2604.12327 for numeric data.
Install
Health
NOTERd cross-referencesr-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-patched-linux-x86_64, r-release-linux-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Unknown package ‘LPKsample’ in Rd xrefs
r-devel-linux-x86_64-fedora-clang
Undeclared packages ‘ranger’, ‘transport’ in Rd xrefs Unknown package ‘LPKsample’ in Rd xrefs
- NOTE7 OK, 6 NOTE2026-10-15
- WARNING6 OK, 6 NOTE, 1 WARNING2026-10-01
- NOTE12 OK, 1 NOTE2026-06-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 59includes a package overview page
- Examples that run
- 100%58 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 93%
Downloads
Dependencies
Installing DataSimilarity adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.4.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.3.0
- 0.2.0
- RR 4.5.0 released · 2025-04-11
- 0.1.12025-03-18
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-03-18
- Total releases
- 4 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 2.5 KB / 1 file
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("DataSimilarity")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.