as.igraph.matrix | R Documentation |
igraph
Object.Coerce a Weight Matrix into an igraph
Object.
## S3 method for class 'matrix'
as.igraph(x, mode = "directed", ...)
x |
A |
mode |
Character scalar, specifies how igraph should interpret the
supplied matrix. See also the |
... |
Ignored. |
An igraph
object.
Helper functions
as.igraph.group_tna()
,
as.igraph.tna()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.