predict.glmnet.prmdt {traineR} | R Documentation |
predict.glmnet.prmdt
Description
Return prediction for a glmnet
model.
Usage
## S3 method for class 'glmnet.prmdt'
predict(object, newdata, type = "class", s = NULL, ...)
Arguments
object |
a |
newdata |
an optional data frame in which to look for variables with which to predict. |
type |
type of prediction 'prob' or 'class' (default). |
s |
a |
... |
additional arguments affecting the predictions produced. |
[Package traineR version 2.2.0 Index]