Description Usage Arguments References Examples
Tests whether to reject the null hypothesis that the CPC with the largest eigenvalue is similar to a hypothetical eigenvector, based on equation 3.4 (Flury, 1986). If comparing 2 or more eigenvectors, see the function h_many.
| 1 |   h_one(matList, n, v)
 | 
| matList | list of matrices | 
| n | numeric vector of sample sizes | 
| v | eigenvector to be compared to | 
Flury B.N. Asymptotic theory for common principal component analysis. Annals Statist. 1986. 14, 418-430.
| 1 2 3 | source("test_examples.R")
v=rep((1/sqrt(3)),3)
h_one(test_turtle,n_turtle,v)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.