powered by
Performs a Monte-Carlo test on the between-groups inertia percentage.
# S3 method for between rtest(xtest, nrepet = 99, ...)
a list of the class rtest
rtest
an object of class between
between
the number of permutations
further arguments passed to or from other methods
Daniel Chessel
Romesburg, H. C. (1985) Exploring, confirming and randomization tests. Computers and Geosciences, 11, 19--37.
data(meaudret) pca1 <- dudi.pca(meaudret$env, scan = FALSE, nf = 3) rand1 <- rtest(bca(pca1, meaudret$design$season, scan = FALSE), 99) rand1 plot(rand1, main = "Monte-Carlo test")
Run the code above in your browser using DataLab