as_pipeop | R Documentation |
The argument is turned into a PipeOp
if possible.
If clone
is TRUE
, a deep copy is made
if the incoming object is a PipeOp
to ensure the resulting
object is a different reference from the incoming object.
as_pipeop()
is an S3 method and can therefore be implemented by other packages
that may add objects that can naturally be converted to PipeOp
s. Objects that
can be converted are for example Learner
(using PipeOpLearner
) or
Filter
(using PipeOpFilter
).
as_pipeop(x, clone = FALSE)
x |
( |
clone |
( |
PipeOp
x
or a deep clone of it.
Other Graph operators:
%>>%()
,
as_graph()
,
assert_graph()
,
assert_pipeop()
,
chain_graphs()
,
greplicate()
,
gunion()
,
mlr_graphs_greplicate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.