predict.scalreg {scalreg} | R Documentation |
Prediction based on a scalreg object
Description
When the type of a scalreg object is "regression", this predict method applies.
Usage
## S3 method for class '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. |
Author(s)
Tingni Sun
See Also
scalreg
[Package scalreg version 1.0.1 Index]