| mat_to_edgelist | R Documentation |
Extracts non-zero entries directly from the sparse representation — no dense matrix allocation. For undirected networks, only the upper triangle is returned.
mat_to_edgelist(A, directed = FALSE)
A |
A square sparse or dense matrix. |
directed |
Logical. If |
A data frame with columns from, to, weight, sorted by
descending weight.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.