mlr3pipelines (version 0.1.3)

gunion: Disjoint Union of Graphs

Description

Takes an arbitrary amount of Graphs or PipeOps (or objects that can be automatically converted into Graphs or PipeOps, see as_graph() and as_pipeop()) as inputs and joins them in a new Graph.

The PipeOps of the input Graphs are not joined with new edges across Graphs, so if length(graphs) > 1 the resulting Graph will be disconnected.

Usage

gunion(graphs)

Arguments

graphs

list of (Graph | PipeOp) List of elements with one of the types defined above, which are the Graphs to be joined.

Value

Graph the resulting Graph.

See Also

Other Graph operators: %>>%(), as_graph(), as_pipeop(), assert_graph(), assert_pipeop(), greplicate()