Learn R Programming

ProcMod (version 1.0.8)

corls_test: 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".

References

Jackson:95:00ProcMod

See Also

p.adjust

Examples

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab