View source: R/mr_median-methods.R
weighted.median | R Documentation |
Internal function for calculating weighted median estimate (or simple median estimate if weights are all equal).
weighted.median(theta, weights)
theta |
Ratio causal estimates for each genetic variant considered individually. |
weights |
Weights. |
None.
Causal estimate.
weighted.median(theta = chdlodds/ldlc, weights = abs(chdloddsse/ldlc))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.