scalreg (version 1.0)

predict.scalreg: Prediction based on a scalreg object

Description

When the type of a scalreg object is "regression", this predict method applies.

Usage

# S3 method for scalreg
predict(object, newX = NULL,...)

Arguments

object

a fitted scalreg object.

newX

X values at which the fit is required. If newX is NULL, return the fitted value of the object.

Additonal arguments for generic methods

Value

y

the predicted values.

%% \item{comp2 }{Description of 'comp2'} %% ...

See Also

scalreg