rep.igraph

0th

Percentile

Replicate a graph multiple times

The new graph will contain the input graph the given number of times, as unconnected components.

Usage
# S3 method for igraph
rep(x, n, mark = TRUE, ...)

# S3 method for igraph *(x, n)

Arguments
x

The input graph.

n

Number of times to replicate it.

mark

Whether to mark the vertices with a which attribute, an integer number denoting which replication the vertex is coming from.

...

Additional arguments to satisfy S3 requirements, currently ignored.

Aliases
  • rep.igraph
  • *.igraph
Examples
# NOT RUN {
rings <- make_ring(5) * 5
# }
Documentation reproduced from package igraph, version 1.2.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.