is_loopy | R Documentation |
A loopy graph has at least one loop edge: an edge from a vertex to itself.
is_loopy(graph)
graph |
The input graph. |
Logical scalar.
Other multigraphs:
is_multigraph()
,
is_simple()
,
remove_loops()
,
remove_multiple()
,
simplify()
G <- graph(list(A = c("A", "B", "B"), B = c("A", "C"), C = "A"))
is_loopy(G)
G2 <- simplify(G)
is_loopy(G2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.