predict: Predict Methods for ensr objects

Description Usage Arguments Details See Also

Description

Using either the lambda.min or lambda.1se, find the preferable model from the ensr object and return a prediction.

Usage

1
2
3
4
5
## S3 method for class 'ensr'
predict(object, ...)

## S3 method for class 'ensr'
coef(object, ...)

Arguments

object

a ensr object

...

other arguments passed along to predict

Details

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.

See Also

predict.glmnet


dewittpe/ensr documentation built on March 6, 2020, 5:24 p.m.