as.undirected | R Documentation |
as.undirected()
was renamed to as_undirected()
to create a more
consistent API.
as.undirected(
graph,
mode = c("collapse", "each", "mutual"),
edge.attr.comb = igraph_opt("edge.attr.comb")
)
graph |
The graph to convert. |
mode |
Character constant, defines the conversion algorithm. For
|
edge.attr.comb |
Specifies what to do with edge attributes, if
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.