randtest.pcaiv: Monte-Carlo Test on the percentage of explained (i.e....

Description Usage Arguments Value Author(s) Examples

Description

Performs a Monte-Carlo test on on the percentage of explained (i.e. constrained) inertia. The statistic is the ratio of the inertia (sum of eigenvalues) of the constrained analysis divided by the inertia of the unconstrained analysis.

Usage

1
2
3
4
5
6
## S3 method for class 'pcaiv'
randtest(xtest, nrepet = 99, ...)
## S3 method for class 'cca'
randtest(xtest, nrepet = 99, ...)
## S3 method for class 'pcaivortho'
randtest(xtest, nrepet = 99, ...)

Arguments

xtest

an object of class pcaiv, pcaivortho or cca

nrepet

the number of permutations

...

further arguments passed to or from other methods

Value

a list of the class randtest

Author(s)

Stephane Dray stephane.dray@univ-lyon1.fr, original code by Raphael Pelissier

Examples

1
2
3
4
data(rpjdl)
millog <- log(rpjdl$mil + 1)
iv1 <- cca(rpjdl$fau, millog, scan = FALSE)
randtest(iv1)

ade4 documentation built on May 2, 2019, 5:50 p.m.

Related to randtest.pcaiv in ade4...