pred: Prediction caller

Description Usage Arguments Value Examples

View source: R/methods.R

Description

Prediction caller

Usage

1
pred(x, ...)

Arguments

x

a linreg class object

...

optional arguments to pass to generic

Value

A vector of predictions for a linreg class object

Examples

1
2
3
data(mtcars)
model <- linreg(mpg~wt+cyl, mtcars, QR = FALSE)
pred(model)

hankOlofs/linreg documentation built on Nov. 2, 2020, 11:25 a.m.