Skip to content

Multi-View Aggregated Two Sample Tests

0packages depend
1.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Implements the Multi-view Aggregated Two-Sample (MATES) test, a powerful nonparametric method for testing equality of two multivariate distributions. The method constructs multiple graph-based statistics from various perspectives (views) including different distance metrics, graph types (nearest neighbor graphs, minimum spanning trees, and robust nearest neighbor graphs), and weighting schemes. These statistics are then aggregated through a quadratic form to achieve improved statistical power. The package provides both asymptotic closed-form inference and permutation-based testing procedures. For methodological details, see Cai and others (2026+) doi:10.48550/arXiv.2412.16684.

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
11includes a package overview page
Examples that run
25%1 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
27%

Downloads

1.8K
CRAN downloads in the past year
Rank #23,150 · ~5/day · ~151/mo
Daily download trend is not available in this view yet.
18630 days
56890 days
1.8K1 year
Compare downloads with other packages →
Also on238 r2u3 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2025-11-21 · The default branch showed an older version (0.0.0.9000) than CRAN on 2026-10-22
Responsiveness
not measured
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/zexicai/mates on 2026-10-22.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing MATES adds 6 packages (5 with compiled code, 11 MB of source tarballs). Heaviest: sp 4.3 MB, ade4 3.2 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.3.0
Imports (4)
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 0.1 (2026)
Author, Contributor
Author, Contributor
Author, Contributor
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1Latest
    2026-01-22 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-22
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.3.0
Download size
16 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MATES")
Cai, Z., Fei, W., Liu, M., & Zhou, D. (2026). MATES: Multi-View Aggregated Two Sample Tests (Version 0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.MATES

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MATES version 0.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy