MRenet-class | R Documentation |
The output class of the glmnet_enet_mr() function. This code was written by Dr. Verena Zuber, <v.zuber(at)imperial.ac.uk> who has kindly given us permission to incorporate it into the PathWAS package. The original code for this can be found here: https://github.com/verena-zuber/demo_AMD/blob/master/mvMR_glmnet.R
Exposure
The names of the exposure variables.
Outcome
The name of the outcome variable.
Estimate
The causal estimates from the multivariable MR-Lasso method.
Lambda1
The value of the "best" lambda tuning parameter used to compute elasticnet.
Lambda2
The "best" alpha value. With the alpha value being the elasticnet mixing parameter, with 0 ≤ α ≤ 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.