Print function for result of HHG tests
Print description of for result object of HHG tests
## S3 method for class 'HHG.Test.Result' print(x, ...)
x |
result of
|
... |
Additional arguments can be sent to function. Currently not supported. |
Function prints description of results for the hhg.test
, hhg.test.2.sample
and
hhg.test.k.sample
functions. Displays: test statistics, pvalues (if permutations were performed) and description
of sample size (also displays group sizes and equality of distribution tests).
Does not return value. Only prints description of test statistic and results.
Barak Brill
#output for independence test n = 50 X = hhg.example.datagen(n, '4indclouds') Dx = as.matrix(dist((X[1,]), diag = TRUE, upper = TRUE)) Dy = as.matrix(dist((X[2,]), diag = TRUE, upper = TRUE)) hhg = hhg.test(Dx, Dy, nr.perm = 200) #output for k-sample test n = 50 D = hhg.example.datagen(n, 'FourClassUniv') Dx = as.matrix(dist(D$x, diag = TRUE, upper = TRUE)) hhg = hhg.test.k.sample(Dx, D$y, nr.perm = 200)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.