predict.linreg: Get fitted values from a linreg object

Description Usage Arguments Examples

View source: R/pred.R

Description

Get fitted values from a linreg object

Usage

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

Arguments

object

An object of class linreg

...

Additional arguments that we don't use

Examples

1
2
fit <- linreg(Petal.Length ~ Sepal.Width + Sepal.Length, data = iris)
predict(fit)

TheodorEmanuelsson/QRreg documentation built on Dec. 18, 2021, 4:10 p.m.