Predict Target
tar_predict( name, object, new_data, type = NULL, opts = list(), ..., tar_args = list() )
name | Name of target |
---|---|
object | An object of class |
new_data | A rectangular data object, such as a data frame. |
type | A single character value or |
opts | A list of optional arguments to the underlying
predict function that will be used when |
... | Arguments passed on to |
tar_args | Arguments passed to |