Learn R Programming

gcdnet (version 1.0.6)

predict: Model predictions

Description

predict is a generic function for predictions from the results of various model fitting functions. The function invokes particular methods which depend on the class of the first argument.

Usage

predict(object, ...)

Value

The form of the value returned by predict depends on the class of its argument. See the documentation of the particular methods for details of what is produced by that method.

Arguments

object

a model object for which prediction is desired.

...

additional arguments affecting the predictions produced.

See Also

predict.gcdnet, predict.erpath, predict.lspath, predict.hsvmpath, predict.logitpath, predict.sqsvmpath.