| predict.default {statip} | R Documentation |
Default method of the predict generic
function, which can be used when the model object is empty
(see is.empty in package bazar).
## Default S3 method: predict(object, newdata, ...)
object |
A model object, possibly empty. |
newdata |
An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used. |
... |
Additional arguments. |
A vector of predictions.
predict from package stats,
is.empty from package bazar.
stats::predict(NULL) stats::predict(NULL, newdata = data.frame(x = 1:2, y = 2:3))