View source: R/mr_ivw-methods.R
r.weights | R Documentation |
Internal function for calculating penalized weights in conjunction with penalised.weights
.
These weights are used in either the mr_ivw
or mr_egger
functions when penalized = TRUE
.
r.weights(.Byse, .pen.weights)
.Byse |
Standard error of genetic association with the outcome. |
.pen.weights |
Factors for penalizing weights. |
None.
Penalized weights.
r.weights(chdloddsse, penalised.weights(ldlc, ldlcse, chdlodds, chdloddsse))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.