跳到内容

连接顶点序列

用法

# S3 method for class 'igraph.vs'
c(..., recursive = FALSE)

参数

...

要连接的顶点序列。它们必须引用同一个图。

recursive

忽略,为了与基础c函数保持S3兼容性而包含。

一个顶点序列,输入序列已连接。

示例

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
c(V(g)[1], V(g)["A"], V(g)[1:4])
#> + 6/10 vertices, named, from 5d0e0b3:
#> [1] A A A B C D