When the type of a scalreg object is "regression", this predict method applies.
# S3 method for scalreg
predict(object, newX = NULL,...)
a fitted scalreg object.
X values at which the fit is required. If newX is NULL, return the fitted value of the object.
Additonal arguments for generic methods
the predicted values.
scalreg