powered by
Calculates statistics of Krzanowski's comparison of subspaces.
krzanowski.test(CA, CB, vecsA, vecsB, corr = FALSE, ...)
Matrix A
Matrix B
Vector of integers indexing the eigenvectors determining the subspace of A
Vector of integers indexing the eigenvectors determining the subspace of B
logical; if TRUE the variances of A and B are standardised
TRUE
further arguments to be passed
metric for overall similarity with 0 indicting no similarity and a value of length(vecsA) for identical subspaces
length(vecsA)
angle in degrees between each best matched pair of vectors
vector that lies between each best matched pair of vectors
Krzanowski, W.J. (2000) Principles of Multivariate Analysis. OUP
# 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) # }
Run the code above in your browser using DataLab