# pipeline_greplicate

From mlr3pipelines v0.3.0
by Martin Binder

##### Create Disjoint Graph Union of Copies of a Graph

Create a new `Graph`

containing `n`

copies of the input `Graph`

/ `PipeOp`

. To avoid ID
collisions, PipeOp IDs are suffixed with `_i`

where `i`

ranges from 1 to `n`

.

##### Usage

`pipeline_greplicate(graph, n)`

##### Arguments

- graph
`Graph`

Graph to replicate.- n
`integer(1)`

Number of copies to create.

##### Value

`Graph`

containing `n`

copies of input `graph`

.

##### See Also

Other Graph operators:
`%>>%()`

,
`as_graph()`

,
`as_pipeop()`

,
`assert_graph()`

,
`assert_pipeop()`

,
`greplicate()`

,
`gunion()`

##### Examples

```
# NOT RUN {
library("mlr3")
po_pca = po("pca")
pipeline_greplicate(po_pca, n = 2)
# }
```

*Documentation reproduced from package mlr3pipelines, version 0.3.0, License: LGPL-3*

### Community examples

Looks like there are no examples yet.