extract_step_item: Extract step item

Description Usage Arguments

View source: R/recipes_utils.R

Description

Returns extracted step item from prepped recipe.

Usage

1
extract_step_item(recipe, step, item, index = 1, enframe_item = TRUE)

Arguments

recipe

Trained recipe object.

step

Step from trained recipe.

item

Item from trained recipe.

index

If multiple steps of the same class, which step do you want to extract the item from? For example, if step_normalize is called twice, you will need to specify index = 2 to extract the information from the second step_normalize.

enframe_item

Should the step item be enframed?


gacolitti/tidyroll documentation built on Sept. 13, 2020, 8 p.m.