Predicted values based on LinearModel object.
# S3 method for LinearModel
predict(object, newdata, interval = c("none", "confidence", "prediction"),
level = 0.95, type = c("response", "terms"), ...)
Object of class inheriting from "LinearModel"
An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.
Type of interval calculation. Can be abbreviated.
Tolerance/confidence level.
Type of prediction (response or model term). Can be abbreviated.
further arguments passed to or from other methods such as lm
.
Francois Husson francois.husson@institut-agro.fr
See the help of predict.lm
function.
LinearModel