chain_graphs | R Documentation |
Takes an arbitrary amount of Graph
s or PipeOp
s (or objects that can be automatically
converted into Graph
s or PipeOp
s, see as_graph()
and as_pipeop()
) as inputs and joins
them in a serial Graph
, as if connecting them using %>>%
.
Care is taken to avoid unnecessarily cloning of components. A call of
chain_graphs(list(g1, g2, g3, g4, ...), in_place = FALSE)
is equivalent to
g1 %>>% g2 %>>!% g3 %>>!% g4 %>>!% ...
.
A call of chain_graphs(list(g1, g2, g3, g4, ...), in_place = FALSE)
is equivalent to g1 %>>!% g2 %>>!% g3 %>>!% g4 %>>!% ...
(differing in the
first operator being %>>!%
as well).
chain_graphs(graphs, in_place = FALSE)
graphs |
|
in_place |
( |
Graph
the resulting Graph
, or NULL
if there are no non-null values in graphs
.
Other Graph operators:
%>>%()
,
as_graph()
,
as_pipeop()
,
assert_graph()
,
assert_pipeop()
,
greplicate()
,
gunion()
,
mlr_graphs_greplicate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.