randtest.pcaiv | R Documentation |
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.
## S3 method for class 'pcaiv' randtest(xtest, nrepet = 99, ...) ## S3 method for class 'pcaivortho' randtest(xtest, nrepet = 99, ...)
xtest |
an object of class |
nrepet |
the number of permutations |
... |
further arguments passed to or from other methods |
a list of the class randtest
Stéphane Dray stephane.dray@univ-lyon1.fr, original code by Raphaël Pélissier
data(rpjdl) millog <- log(rpjdl$mil + 1) coa1 <- dudi.coa(rpjdl$fau, scann = FALSE) caiv1 <- pcaiv(coa1, millog, scan = FALSE) randtest(caiv1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.