pred.linreg: Return predictions of a linreg object

Description Usage Arguments Value Examples

View source: R/pred.linreg.R

Description

pred returns the predictions of a linreg object.

Usage

1
2
## S3 method for class 'linreg'
pred(object, ...)

Arguments

object

A linreg object.

...

Further arguments passed to or from other methods.

Value

Return a named vector with predictions.

Examples

1
pred(linreg(Petal.Length ~ Species, iris))

Sidryd/lab4sidjac documentation built on Oct. 17, 2020, 11:05 p.m.