mlr_graphs_greplicate | R Documentation |
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
.
All input arguments are cloned and have no references in common with the returned Graph
.
pipeline_greplicate(graph, n)
graph |
|
n |
|
Graph
containing n
copies of input graph
.
Other Graph operators:
%>>%()
,
as_graph()
,
as_pipeop()
,
assert_graph()
,
assert_pipeop()
,
chain_graphs()
,
greplicate()
,
gunion()
library("mlr3")
po_pca = po("pca")
pipeline_greplicate(po_pca, n = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.