Skip to contents

Concatenate edge sequences

Usage

# S3 method for igraph.es
c(..., recursive = FALSE)

Arguments

...

The edge sequences to concatenate. They must all refer to the same graph.

recursive

Ignored, included for S3 compatibility with the base c function.

Value

An edge sequence, the input sequences concatenated.

Examples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
c(E(g)[1], E(g)["A|B"], E(g)[1:4])
#> + 6/10 edges from ece4882 (vertex names):
#> [1] A--B A--B A--B B--C C--D D--E