getNodePaths | R Documentation |
Get all edges leading to/from a node
getNodePaths(mat, from = NULL, to = NULL)
mat |
An adjacency matrix |
from , to |
Node names between which the shortest path must be computed.
At least one of these must be given.
If only |
The same adjacency matrix, but the only non-null values are those edges
on the shortest path from the from
node and/or to the to
node.
Sercan Kahveci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.