remove_loops | R Documentation |
Remove loop edges from a graph
remove_loops(graph)
graph |
Input graph |
Graph, with loop edges removed.
Other multigraphs:
is_loopy()
,
is_multigraph()
,
is_simple()
,
remove_multiple()
,
simplify()
G <- graph(list(A = c("A", "B", "B"), B = c("A", "C"), C = "A"))
is_loopy(G)
is_loopy(remove_loops(G))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.