View source: R/mat.vectorization.R
mat.vectorization | R Documentation |
Transform a matrix into a vector.
mat.vectorization(M, sym = FALSE, erase.diag = TRUE)
M |
an adjacency matrix or list of adjacency matrices. |
sym |
if true will vectorize only the lower triangle. |
erase.diag |
if true will not keep the diagonal of the matrix. |
Transform an adjacency matrix (symetric or not) into a vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.