Package: gTests 0.2

Hao Chen

gTests: Graph-Based Two-Sample Tests

Four graph-based tests are provided for testing whether two samples are from the same distribution. It works for both continuous data and discrete data.

Authors:Hao Chen and Jingru Zhang

gTests_0.2.tar.gz
gTests_0.2.tar.gz(r-4.5-noble)gTests_0.2.tar.gz(r-4.4-noble)
gTests_0.2.tgz(r-4.4-emscripten)gTests_0.2.tgz(r-4.3-emscripten)
gTests.pdf |gTests.html
gTests/json (API)

# Install 'gTests' in R:
install.packages('gTests', repos = 'https://cloud.r-project.org')
Datasets:
  • E1 - An edge matrix representing a similarity graph
  • E2 - An edge matrix representing a similarity graph
  • E3 - An edge matrix representing a similarity graph
  • counts1 - A matrix representing counts in the distinct values for the two samples
  • counts2 - A matrix representing counts in the distinct values for the two samples
  • counts3 - A matrix representing counts in the distinct values for the two samples
  • ds1 - A distance matrix on the distinct values
  • ds2 - A distance matrix on the distinct values
  • ds3 - A distance matrix on the distinct values

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 1 stars 181 downloads 3 exports 7 dependencies

Last updated 7 years agofrom:00479ed89a. Checks:3 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 11 2025
R-4.5-linuxOKMar 11 2025
R-4.4-linuxOKMar 11 2025

Exports:g.testsg.tests_discretegetGraph

Dependencies:ade4latticeMASSpixmapRcppRcppArmadillosp

Citation

To cite package ‘gTests’ in publications use:

Chen H, Zhang J (2017). gTests: Graph-Based Two-Sample Tests. R package version 0.2, https://CRAN.R-project.org/package=gTests.

ATTENTION: This citation information has been auto-generated from the package DESCRIPTION file and may need manual editing, see ‘help("citation")’.

Corresponding BibTeX entry:

  @Manual{,
    title = {gTests: Graph-Based Two-Sample Tests},
    author = {Hao Chen and Jingru Zhang},
    year = {2017},
    note = {R package version 0.2},
    url = {https://CRAN.R-project.org/package=gTests},
  }