powered by
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.
Graph
n
PipeOp
_i
i
pipeline_greplicate(graph, n)
Graph Graph to replicate.
integer(1) Number of copies to create.
integer(1)
Graph containing n copies of input graph.
graph
Other Graph operators: %>>%(), as_graph(), as_pipeop(), assert_graph(), assert_pipeop(), greplicate(), gunion()
%>>%()
as_graph()
as_pipeop()
assert_graph()
assert_pipeop()
greplicate()
gunion()
# NOT RUN { library("mlr3") po_pca = po("pca") pipeline_greplicate(po_pca, n = 2) # }
Run the code above in your browser using DataLab