check_eigen_sign | R Documentation |
Change the sign of eigenvectors to target eigenvectors
check_eigen_sign(eig_vec, target)
eig_vec |
a vector (n x 1) or matrix (n x q) containing estimated eigenvectors |
target |
a vector (n x 1) or matrix (n x q) containing true (or want to convert) eigenvectors |
eig_vec
modified to correspond to the sign of target
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.