predict.scalreg {scalreg} | R Documentation |
When the type of a scalreg object is "regression", this predict method applies.
## S3 method for class 'scalreg'
predict(object, newX = NULL,...)
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 |
y |
the predicted values. |
Tingni Sun
scalreg