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)
x | A fitted workflow object. |
---|
A fitted model or recipe. If a formula is used instead of a recipe,
extract_recipe()
returns NULL
.