| eig_decomp | R Documentation | 
eigsBy default uses a random initialization vector that you can make deterministic using
set.seed or override by specifying opts = list(initvec = ...).
eig_decomp(m, n_eigs, sym, ..., opts = list())
| m | A matrix (e.g. from the Matrix package) or
a function (see  | 
| n_eigs | Number of eigenvectors to return. | 
| sym | defunct and ignored. | 
| ... | Passed to  | 
| opts | Passed to  | 
see eigs.
eig_decomp(cbind(c(1,0,-1), c(0,1,0), c(-1,0,1)), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.