add_formula() specifies the terms of the model through the usage of a
remove_formula() removes the formula as well as any downstream objects
that might get created after the formula is used for preprocessing, such as
terms. Additionally, if the model has already been fit, then the fit is
update_formula() first removes the formula, then replaces the previous
formula with the new one. Any model that has already been fit based on this
formula will need to be refit.
1 2 3 4 5
A formula specifying the terms of the model. It is advised to not do preprocessing in the formula, and instead use a recipe if that is required.
A hardhat blueprint used for fine tuning the preprocessing.
To fit a workflow, one of
add_recipe() must be
specified, but not both.
x, updated with either a new or removed formula preprocessor.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.