predict.blm: Make predictions using the Basis Linear Model

Description Usage Arguments Value

View source: R/blm.R

Description

S3 method for class blm, that makes predictions for newdata using the Basis Linear Model. This funciton is similar to lm, however currently it does not provide the formula functionality.

Usage

1
2
## S3 method for class 'blm'
predict(object, newdata = NULL, ...)

Arguments

object

Object of class blm.

newdata

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

...

Optional additional parameters.

Value

predict.blm produces a vector of predictions.


andreaskapou/mpgex documentation built on Nov. 25, 2017, 8:08 a.m.