Learn R Programming

ade4 (version 1.7-22)

randtest.between: Monte-Carlo Test on the between-groups inertia percentage (in C).

Description

Performs a Monte-Carlo test on the between-groups inertia percentage.

Usage

# S3 method for between
randtest(xtest, nrepet = 999, ...)

Value

a list of the class randtest

Arguments

xtest

an object of class between

nrepet

the number of permutations

...

further arguments passed to or from other methods

Author

Jean Thioulouse Jean.Thioulouse@univ-lyon1.fr

References

Romesburg, H. C. (1985) Exploring, confirming and randomization tests. Computers and Geosciences, 11, 19--37.

Examples

Run this code
data(meaudret)
pca1 <- dudi.pca(meaudret$env, scan = FALSE, nf = 3)
rand1 <- randtest(bca(pca1, meaudret$design$season, scan = FALSE), 99)
rand1
plot(rand1, main = "Monte-Carlo test")

Run the code above in your browser using DataLab