RV.randtest: Monte-Carlo Test on the sum of eigenvalues of a co-inertia...

RV.randtestR Documentation

Monte-Carlo Test on the sum of eigenvalues of a co-inertia analysis (in C++ with Rcpp).

Description

performs a Monte-Carlo Test on the sum of eigenvalues of a co-inertia analysis.

Usage

RV.randtest(df1, df2, nrepet = 999, ...)

Arguments

df1, df2

two data frames with the same rows

nrepet

the number of permutations

...

further arguments passed to or from other methods

Value

returns a list of class 'randtest'

Author(s)

Daniel Chessel and Jean Thioulouse

References

Heo, M. & Gabriel, K.R. (1997) A permutation test of association between configurations by means of the RV coefficient. Communications in Statistics - Simulation and Computation, 27, 843-856.

Examples

data(doubs)
pca1 <- dudi.pca(doubs$env, scal = TRUE, scann = FALSE)
pca2 <- dudi.pca(doubs$fish, scal = FALSE, scann = FALSE)
rv1 <- RV.randtest(pca1$tab, pca2$tab, 99)
rv1
plot(rv1)

ade4 documentation built on Feb. 16, 2023, 7:58 p.m.

Related to RV.randtest in ade4...