Learn R Programming

FactoMineR (version 2.9)

predict.LinearModel: Predict method for Linear Model Fits

Description

Predicted values based on LinearModel object.

Usage

# S3 method for LinearModel
predict(object, newdata, interval = c("none", "confidence", "prediction"),
        level = 0.95, type = c("response", "terms"), ...)

Arguments

object

Object of class inheriting from "LinearModel"

newdata

An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

interval

Type of interval calculation. Can be abbreviated.

level

Tolerance/confidence level.

type

Type of prediction (response or model term). Can be abbreviated.

...

further arguments passed to or from other methods such as lm.

Author

Francois Husson francois.husson@institut-agro.fr

Details

See the help of predict.lm function.

See Also

LinearModel