gorder: Order (number of vertices) of a graph

Description Usage Arguments Value See Also Examples

View source: R/auto.R

Description

Order (number of vertices) of a graph

Usage

1

Arguments

graph

The graph

Value

Number of vertices, numeric scalar.

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

1
2
g <- make_ring(10)
gorder(g)

Example output

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

[1] 10

igraph documentation built on Jan. 8, 2021, 2:19 a.m.

Related to gorder in igraph...