跳到内容

vcount()gorder() 是别名。

用法

vcount(graph)

gorder(graph)

参数

graph

顶点数,数值标量。

vcount().

示例

g <- make_ring(10)
gorder(g)
#> [1] 10
vcount(g)
#> [1] 10