gunion | 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 new Graph
.
The PipeOp
s of the input Graph
s are not joined with new edges across
Graph
s, so if length(graphs) > 1
, the resulting Graph
will be disconnected.
This operation always creates deep copies of its input arguments, so they cannot be modified by reference afterwards.
To access individual PipeOp
s after composition, use the resulting Graph
's $pipeops
list.
gunion(graphs, in_place = FALSE)
graphs |
|
in_place |
( |
Graph
the resulting Graph
.
Other Graph operators:
%>>%()
,
as_graph()
,
as_pipeop()
,
assert_graph()
,
assert_pipeop()
,
chain_graphs()
,
greplicate()
,
mlr_graphs_greplicate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.