apply_frosting | R Documentation |
This function is intended for internal use. It implements postprocessing
inside of the predict()
method for a fitted workflow.
apply_frosting(workflow, ...)
## Default S3 method:
apply_frosting(workflow, components, ...)
## S3 method for class 'epi_workflow'
apply_frosting(workflow, components, new_data, type = NULL, opts = list(), ...)
workflow |
An object of class workflow |
... |
additional arguments passed on to methods |
components |
a list of components containing model information. These will be updated and returned by the layer. These should be
|
new_data |
a data frame containing the new predictors to preprocess and predict on |
type , opts |
forwarded (along with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.