predict {ensr} | R Documentation |
Using either the lambda.min
or lambda.1se
, find the preferable
model from the ensr
object and return a prediction.
## S3 method for class 'ensr'
predict(object, ...)
## S3 method for class 'ensr'
coef(object, ...)
object |
a |
... |
other arguments passed along to |
The glmnet::predict
argument s
is ignored if specified and
attempted to be passed via ...
. The value of s
that is passed
to glmnet::predict
is determined by the value of lambda.min
or
lambda.1se
found from a call to preferable
.