krzanowski.test

0th

Percentile

Krzanowski's Comparison of Subspaces

Calculates statistics of Krzanowski's comparison of subspaces.

Keywords
multivariate
Usage
krzanowski.test(CA, CB, vecsA, vecsB, corr = FALSE, ...)
Arguments
CA

Matrix A

CB

Matrix B

vecsA

Vector of integers indexing the eigenvectors determining the subspace of A

vecsB

Vector of integers indexing the eigenvectors determining the subspace of B

corr

logical; if TRUE the variances of A and B are standardised

...

further arguments to be passed

Value

sumofS

metric for overall similarity with 0 indicting no similarity and a value of length(vecsA) for identical subspaces

angles

angle in degrees between each best matched pair of vectors

bisector

vector that lies between each best matched pair of vectors

References

Krzanowski, W.J. (2000) Principles of Multivariate Analysis. OUP

Aliases
  • krzanowski.test
Examples
# NOT RUN {
CA<-rIW(diag(5),10, n=1)
CB<-rIW(diag(5),10, n=1)
krzanowski.test(CA, CB, vecsA=1:2, vecsB=1:2)
krzanowski.test(CA, CA, vecsA=1:2, vecsB=1:2)
# }
Documentation reproduced from package MCMCglmm, version 2.29, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.