View source: R/adjacency_matrix.R
sparse2sg | R Documentation |
Make an sg-object from adjacency matrix
sparse2sg(x)
x |
square matrix. non-0 elements are taken as edge presence. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.