cor.test_eq | R Documentation |
Permutation test for squared Pearson correlation between to vectors of samples.
cor.test_eq(x, y, B = 10000)
x |
first |
y |
second |
B |
integer number of permutations, default = 10000. |
This is a convenience function combining SMI
and significant
for the
special case of vector vs vector comparisons. The nullhypothesis is that the correlation
between the vectors is +/-1, while significance signifies a deviance toward 0.
A value indicating if the two input vectors are signficantly different.
Kristian Hovde Liland
Similarity of Matrices Index - Ulf Geir Indahl, Tormod Næs, Kristian Hovde Liland
plot.SMI
(print.SMI/summary.SMI), RV
(RV2/RVadj), r1
(r2/r3/r4/GCD),
allCorrelations
(matrix correlation comparison), PCAcv (cross-validated PCA)
.
a <- (1:5) + rnorm(5) b <- (1:5) + rnorm(5) cor.test_eq(a,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.