Concatenate vertex sequences
# S3 method for igraph.vs
c(..., recursive = FALSE)
The vertex sequences to concatenate. They must refer to the same graph.
Ignored, included for S3 compatibility with
the base c
function.
A vertex sequence, the input sequences concatenated.
Other vertex and edge sequence operations: c.igraph.es
,
difference.igraph.es
,
difference.igraph.vs
,
igraph-es-indexing2
,
igraph-es-indexing
,
igraph-vs-indexing2
,
igraph-vs-indexing
,
intersection.igraph.es
,
intersection.igraph.vs
,
rev.igraph.es
, rev.igraph.vs
,
union.igraph.es
,
union.igraph.vs
,
unique.igraph.es
,
unique.igraph.vs
# NOT RUN {
g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
c(V(g)[1], V(g)['A'], V(g)[1:4])
# }
Run the code above in your browser using DataLab