predict.RAMP {RAMP} | R Documentation |
Model prediction based on a fitted RAMP object.
Description
Similar to the usual predict methods,
this function returns predictions from a fitted 'RAMP'
object.
Usage
## S3 method for class 'RAMP'
predict(object, newdata = NULL, type = c("link",
"response", "class"), allpath = FALSE, ...)
Arguments
object |
Fitted |
newdata |
Matrix of new values for |
type |
Type of prediction required.
Type |
allpath |
allpath = T will output all the predictions on the solution path. allpath = FALSE will only output the one the criterion selected in the |
... |
Not used. Other arguments to predict. |
Value
The object returned depends on type.