Description Usage Arguments Value Author(s) Examples
Create an adjacency matrix from a set of nodes and edges.
1 |
from |
a vector of nodes where the edges originate |
to |
a vector of nodes where the edges point to |
weight |
a numeric vector of weights |
directed |
logical. Are the edges directed (TRUE, the default) or bidirected(FALSE). |
Returns a sparse adjacency matrix
Claus Ekstrom ekstrom@sund.ku.dk
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.