
Performs a Monte-Carlo test on a Co-inertia analysis.
# S3 method for coinertia
randtest(xtest, nrepet = 999, fixed=0, ...)
a list of the class randtest
an object of class coinertia
the number of permutations
when non uniform row weights are used in the coinertia analysis, this parameter must be the number of the table that should be kept fixed in the permutations
further arguments passed to or from other methods
Jean Thioulouse Jean.Thioulouse@univ-lyon1.fr modified by Stéphane Dray stephane.dray@univ-lyon1.fr
Dolédec, S. and Chessel, D. (1994) Co-inertia analysis: an alternative method for studying species-environment relationships. Freshwater Biology, 31, 277--294.
data(doubs)
dudi1 <- dudi.pca(doubs$env, scale = TRUE, scan = FALSE, nf = 3)
dudi2 <- dudi.pca(doubs$fish, scale = FALSE, scan = FALSE, nf = 2)
coin1 <- coinertia(dudi1,dudi2, scan = FALSE, nf = 2)
plot(randtest(coin1))
Run the code above in your browser using DataLab