Extraction of stages from a Pipeline or PipelineModel object.
ml_stage(x, stage)
ml_stages(x, stages = NULL)For ml_stage(): The stage specified.
For ml_stages(): A list of stages. If stages is not set, the function returns all stages of the pipeline in a list.