predict.default {statip}R Documentation

Default model predictions

Description

Default method of the predict generic function, which can be used when the model object is empty.

Usage

## 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.

Examples

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


[Package statip version 0.2.3 Index]