View source: R/multivariance-functions.R
compute the p-value by Pearson's approximation assuming uniform marginals and euclidean distance
1 2 3 4 5 6 7 8 |
1 2 3 4 5 6 7 8 9 10 11 | multivariance:::pearson.pvalue.unif(matrix(runif(300),ncol = 3))
## Not run:
library(microbenchmark)
x = matrix(runif(300*3),ncol = 3)
microbenchmark(
multivariance.test(x,p.value.type = "pearson_approx")$p.value,
multivariance:::pearson.pvalue.unif(emp.transf(x))
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.