slather | R Documentation |
Slathering frosting means to implement a postprocessing layer. When creating a new postprocessing layer, you must implement an S3 method for this function
slather(object, components, workflow, new_data, ...)
object |
a workflow with |
components |
a list of components containing model information. These will be updated and returned by the layer. These should be
|
workflow |
an object of class workflow |
new_data |
a data frame containing the new predictors to preprocess and predict on |
... |
additional arguments used by methods. Currently unused. |
The components
list. In the same format after applying any updates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.