Learn R Programming

AcrossTic (version 1.0-3)

AcrossTic-package: \Sexpr[results=rd,stage=build]{tools:::Rd_package_title("#1")}AcrossTicA Cost-Minimal Regular Spanning Subgraph with TreeClust

Description

\Sexpr[results=rd,stage=build]{tools:::Rd_package_description("#1")}AcrossTicConstruct minimum-cost regular spanning subgraph as part of a non-parametric two-sample test for equality of distribution.

Arguments

Details

The DESCRIPTION file: \Sexpr[results=rd,stage=build]{tools:::Rd_package_DESCRIPTION("#1")}AcrossTicThis package was not yet installed at build time.

\Sexpr[results=rd,stage=build]{tools:::Rd_package_indices("#1")}AcrossTic Index: This package was not yet installed at build time.

This primarily provides rRegMatch, which for arguments X and r produces a minimum-distance r-regular subgraph of the rows of X.

References

David Ruth, "A new multivariate two-sample test using regular minimum-weight spanning subgraphs," J. Stat. Distributions and Applications (2014)

Examples

Run this code
set.seed (123)
X <- matrix (rnorm (100), 50, 2) # Create data...
y <- rep (c (1, 2), each=25) # ...and class membership
## Not run: rRegMatch (X, r = 3, y = y)

Run the code above in your browser using DataLab