is_simple | R Documentation |
A simple graph contains no loop and multiple edges.
is_simple(graph)
graph |
The input graph. |
Logical scalar.
Other multigraphs:
is_loopy()
,
is_multigraph()
,
remove_loops()
,
remove_multiple()
,
simplify()
G <- graph(list(A = c("A", "B", "B"), B = c("A", "C"), C = "A"))
is_simple(G)
G2 <- simplify(G)
is_simple(G2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.