Learn R Programming

psychmeta (version 0.2.4)

predict.lm_mat: Prediction method for objects of the class "lm_mat"

Description

Prediction method for objects of the class "lm_mat"

Usage

# S3 method for lm_mat
predict(object, newdata, se.fit = FALSE, df = Inf,
  interval = "none", level = 0.95, ...)

Arguments

object

Object of class inheriting from "lm_mat"

newdata

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

se.fit

A switch indicating if standard errors are required.

df

Degrees of freedom for scale.

interval

Type of interval calculation. Can be abbreviated.

level

Tolerance/confidence level.

...

further arguments passed to or from other methods.

Value

An set of predicted values