When extracting the fitted results, the workflow is easily accessible. If there is only interest in the recipe or model, these functions can be used as shortcuts

extract_recipe(x)

extract_model(x)

Arguments

x

A fitted workflow object.

Value

A fitted model or recipe. If a formula is used instead of a recipe, extract_recipe() returns NULL.