R igraph 手册页

如果您从 R 中使用 igraph,请使用此选项

gorder {igraph}R 文档

图的阶数(顶点数)

描述

vcount 是此函数的别名。

用法

gorder(graph)

参数

顶点数,数值标量。

参见

其他结构查询:[.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)

[包 igraph 版本 1.3.5 索引]