igraph (version 1.3.5)

gorder: Order (number of vertices) of a graph

Description

vcount is an alias of this function.

Usage

gorder(graph)

Value

Number of vertices, numeric scalar.

Arguments

graph

The graph

See Also

Other structural queries: [.igraph(), [[.igraph(), adjacent_vertices(), are_adjacent(), ends(), get.edge.ids(), gsize(), head_of(), incident_edges(), incident(), is_directed(), neighbors(), tail_of()

Examples

Run this code
g <- make_ring(10)
gorder(g)
vcount(g)

Run the code above in your browser using DataLab