Rdocumentation
powered by
Learn R Programming
gTests (version 0.2)
Graph-Based Two-Sample Tests
Description
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.
Copy Link
Link to current version
Version
Version
0.2
0.1
Install
install.packages('gTests')
Monthly Downloads
147
Version
0.2
License
GPL (>= 2)
Maintainer
Hao Chen
Last Published
December 6th, 2017
Functions in gTests (0.2)
Search all functions
nnlink
Construct similarity graph by 1-NNL
counts1
A matrix representing counts in the distinct values for the two samples
nnlink_Com
Get components by nearest neighbor link algorithm
dfs
Depth-first search
ds1
A distance matrix on the distinct values
getR1R2
Get intermediate results for g.tests function
E1
An edge matrix representing a similarity graph
getR1R2_discrete
Get intermediate results for g.tests_discrete function
E2
An edge matrix representing a similarity graph
ds2
A distance matrix on the distinct values
g.tests
Graph-based two-sample tests
ds3
A distance matrix on the distinct values
g.tests_discrete
Graph-based two-sample tests for discrete data
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
getGraph
Construct similarity graph
nnlink_K
Construct similarity graph by k-NNL
getMV_discrete
Get intermediate results for g.tests_discrete function
permute_discrete
Generate a permutation for two discrete data groups
gTests
Graph-Based Two-Sample Tests
getComdist
Get distance between two components
E3
An edge matrix representing a similarity graph