powered by
Default method of the predict generic function, which can be used when the model object is empty.
predict
# S3 method for default predict(object, newdata, ...)
A model object, possibly empty.
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.
# NOT RUN { stats::predict(NULL) stats::predict(NULL, newdata = data.frame(x = 1:2, y = 2:3)) # }
Run the code above in your browser using DataLab