order | R Documentation |
The order of the graph is the number of vertices.
order(graph)
graph |
The graph. |
Numeric scalar, the number of vertices.
Other simple queries:
adjacent_vertices()
,
edges()
,
vertices()
G <- graph(list(A = c("B", "C"), B = "C", C = "A"))
order(G)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.