corls_test {ProcMod}R Documentation

Monte-Carlo Test on the sum of the singular values of a procustean rotation.

Description

performs a Monte-Carlo Test on the sum of the singular values of a procustean rotation (see procuste.rtest).

Usage

corls_test(
  ...,
  permutations = permute::how(nperm = 999),
  p_adjust_method = "holm"
)

Arguments

...

the set of matrices or a procmod_frame object.

permutations

a list of control values for the permutations as returned by the function how, or the number of permutations required.

p_adjust_method

the multiple test correction method used to adjust p values. p_adjust_method belongs one of the folowing values: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none". The default is,set to "holm".

Author(s)

Eric Coissac

Christelle Gonindard-Melodelima

References

Jackson DA (1995). “PROTEST: A PROcrustean Randomization TEST of community environment concordance.” Écoscience, 2(3), 297–303.

See Also

p.adjust

Examples

A <- simulate_matrix(10,3)
B <- simulate_matrix(10,5)
C <- simulate_correlation(B,10,r2=0.6)

# Computes the correlation matrix
data <- procmod_frame(A = A, B = B, C = C)

corls_test(data, permutations = 100)


[Package ProcMod version 1.0.8 Index]