as.undirected() was renamed to as_undirected() to create a more
consistent API.
Usage
as.undirected(
graph,
mode = c("collapse", "each", "mutual"),
edge.attr.comb = igraph_opt("edge_attr_combine")
)Arguments
- graph
The graph to convert.
- mode
Character constant, defines the conversion algorithm. For
as_directed()it can bemutualorarbitrary. Foras_undirected()it can beeach,collapseormutual. See details below.
