eig_decomp {destiny} | R Documentation |
Fast eigen decomposition using ARPACK
eig_decomp(M, n_eigs, sym = isSymmetric(M))
M |
A matrix (e.g. from the Matrix package) |
n_eigs |
Number of eigenvectors to return |
sym |
TRUE if M is symmetric |
n eigenvectors of the transition matrix
eig_decomp(cbind(c(1,-1), c(-1,1)), 2)