A model is a scalar object, as classified in
Advanced R. As such, it
takes uniquely named elements in
... and combines them into a list with
a class of
class. This entire object represent a single model.
new_model(..., blueprint = default_xy_blueprint(), class = character())
Name-value pairs for elements specific to the model defined by
A character vector representing the class of the model.
Because every model should have multiple interfaces, including formula
recipes interfaces, all models should have a
can process new data when
predict() is called. The easiest way to generate
an blueprint with all of the information required at prediction time is to
use the one that is returned from a call to
A new scalar model object, represented as a classed list with named elements
new_model( custom_element = "my-elem", blueprint = default_xy_blueprint(), class = "custom_model" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.