Learn R Programming

statuser (version 0.1.9)

predict.lm2: Predict method for lm2 objects

Description

Predict method for lm2 objects

Usage

# S3 method for lm2
predict(object, newdata, ...)

Value

A vector of predicted values (or a list with fit and se.fit

if se.fit = TRUE, or a matrix with fit, lwr, upr

if interval is specified)

Arguments

object

An object of class lm2

newdata

An optional data frame in which to look for variables with which to predict. If omitted, the original model data is used.

...

Additional arguments passed to predict.lm_robust, including se.fit and interval.