powered by
vcount is an alias of this function.
vcount
gorder(graph)
Number of vertices, numeric scalar.
The graph
Other structural queries: [.igraph(), [[.igraph(), adjacent_vertices(), are_adjacent(), ends(), get.edge.ids(), gsize(), head_of(), incident_edges(), incident(), is_directed(), neighbors(), tail_of()
[.igraph()
[[.igraph()
adjacent_vertices()
are_adjacent()
ends()
get.edge.ids()
gsize()
head_of()
incident_edges()
incident()
is_directed()
neighbors()
tail_of()
g <- make_ring(10) gorder(g) vcount(g)
Run the code above in your browser using DataLab