tune (version 0.1.2)

extract_recipe: Convenience functions to extract model or recipe

Description

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

Usage

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.