View source: R/mr_hetpen-methods.R
model.prior | R Documentation |
Internal function for prior weights.
model.prior(model.size, N.obs, prob.valid.inst)
model.size |
Size of subset. |
N.obs |
Number of genetic variants. |
prob.valid.inst |
Probability (prior) of a genetic variant being a valid instrument. |
None.
Prior weight.
model.prior(8, 15, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.