multi_predict()
methods for rule-based modelsmulti_predict()
methods for rule-based models
# S3 method for `_cubist`
multi_predict(object, new_data, type = NULL, neighbors = NULL, ...)# S3 method for `_xrf`
multi_predict(object, new_data, type = NULL, penalty = NULL, ...)
A model_fit
object.
A rectangular data object, such as a data frame.
A single character value or NULL
. This argument is ignored in
the method for _cubist
objects and is handled internally (since
type = "numeric"
is always used).
A numeric vector of neighbors values between zero and nine.
Not currently used.
Non-negative penalty values.