coef.multialpha.repeated.cv.glmnet: coef.multialpha.repeated.cv.glmnet

View source: R/dCVnet_innerloop.R

coef.multialpha.repeated.cv.glmnetR Documentation

coef.multialpha.repeated.cv.glmnet

Description

obtain coefficients from a multialpha.repeated.cv.glmnet object. This is a wrapper for predict.multialpha.repeated.cv.glmnet

Usage

## S3 method for class 'multialpha.repeated.cv.glmnet'
coef(object, newx = NULL, alpha = NULL, s = NULL, ...)

Arguments

object

a a multialpha.repeated.cv.glmnet object.

newx

matrix of new values for x at which predictions are required. Note: no impact when type is "coefficients", "class" or "nonzero".

alpha

the penalty type alpha at which prediction is required. Leave NULL to use the cv-optimised value.

s

The penalty amount lambda at which prediction is required. Leave NULL to use the cv-optimised value.

...

passed to predict.glmnet

See Also

predict.multialpha.repeated.cv.glmnet predict.cv.glmnet, predict.glmnet


AndrewLawrence/dCVnet documentation built on Sept. 24, 2024, 5:24 a.m.