RV.rtest {ade4} | R Documentation |
performs a Monte-Carlo Test on the sum of eigenvalues of a co-inertia analysis.
RV.rtest(df1, df2, nrepet = 99)
df1, df2 |
two data frames with the same rows |
nrepet |
the number of permutations |
returns a list of class 'rtest'
Daniel Chessel
Heo, M. & Gabriel, K.R. (1997) A permutation test of association between configurations by means of the RV coefficient. Communications in Statistics - Simulation and Computation, 27, 843-856.
data(doubs) pca1 <- dudi.pca(doubs$env, scal = TRUE, scann = FALSE) pca2 <- dudi.pca(doubs$fish, scal = FALSE, scann = FALSE) rv1 <- RV.rtest(pca1$tab, pca2$tab, 99) rv1 plot(rv1)