randtest.coinertia {ade4}R Documentation

Monte-Carlo test on a coinertia analysis (in C).

Description

Performs a Monte-Carlo test on a coinertia analysis.

Usage

randtest.coinertia(xtest, nrepet = 999, fixed=0, ...)

Arguments

xtest an object of class coinertia
nrepet the number of permutations
fixed 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

Value

a list of the class randtest

References

Doledec, S. and Chessel, D. (1994) Co-inertia analysis: an alternative method for studying species-environment relationships. Freshwater Biology, 31, 277–294.

Examples

data(doubs)
dudi1 <- dudi.pca(doubs$mil, scale = TRUE, scan = FALSE, nf = 3)
dudi2 <- dudi.pca(doubs$poi, scale = FALSE, scan = FALSE, nf = 2)
coin1 <- coinertia(dudi1,dudi2, scan = FALSE, nf = 2)
plot(randtest(coin1))
 

[Package ade4 version 1.3-3 Index]