View source: R/glmnet_deprecated.R
| CalcGlmnet | R Documentation | 
Calculate penalized linear regression with glmnet
CalcGlmnet(design.matrix, metadata, y, alpha, lambda.use, family, ctrl = NULL)
| design.matrix | Design matrix for regression | 
| metadata | Additional covariates to take into account (will not be permuted) | 
| y | Linear model response | 
| alpha | Elasticnet ratio: (0 is fully L2, 1 fully is L1) | 
| lambda.use | Coefficient regularization parameter | 
| family | Regression family to use | 
| ctrl | Control variable in the design matrix (optional) | 
Matrix of regression coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.