Using either the lambda.min
or lambda.1se
, find the preferable
model from the ensr
object and return a prediction.
# S3 method for ensr
predict(object, ...)# S3 method for ensr
coef(object, ...)
a ensr
object
other arguments passed along to predict
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
.