predict.default: Default model predictions

Description Usage Arguments Value See Also Examples

Description

Default method of the predict generic function, which can be used when the model object is empty (see is.empty in package bazar).

Usage

1
2
## Default S3 method:
predict(object, newdata, ...)

Arguments

object

A model object, possibly empty.

newdata

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

...

Additional arguments.

Value

A vector of predictions.

See Also

predict from package stats, is.empty from package bazar.

Examples

1
2
stats::predict(NULL)
stats::predict(NULL, newdata = data.frame(x = 1:2, y = 2:3))

statoo documentation built on Jan. 27, 2017, 1 p.m.