addPipelineStep {pipeComp} | R Documentation |
Add a step to an existing PipelineDefinition
addPipelineStep(object, name, after = NULL, slots = list())
object |
|
name |
The name of the step to add |
after |
The name of the step after which to add the new step. If NULL, will add the step at the beginning of the pipeline. |
slots |
A optional named list with slots to fill for that step (i.e. 'functions', 'evaluation', 'aggregation', 'descriptions' - will be parsed) |
PipelineDefinition
,
PipelineDefinition-methods
pd <- mockPipeline() pd pd <- addPipelineStep(pd, name="newstep", after="step1", slots=list(description="Step that does nothing...")) pd