`get_r_from_lor.Rd`

This uses equation 10 in Lee et al. A Better Coefficient of Determination for Genetic Profile Analysis. Genetic Epidemiology 36: 214–224 (2012) https://doi.org/10.1002/gepi.21614.

get_r_from_lor( lor, af, ncase, ncontrol, prevalence, model = "logit", correction = FALSE )

lor | Vector of Log odds ratio. |
---|---|

af | Vector of allele frequencies. |

ncase | Vector of Number of cases. |

ncontrol | Vector of Number of controls. |

prevalence | Vector of Disease prevalence in the population. |

model | Is the effect size estimated from the |

correction | Scale the estimated r by correction value. The default is |

Vector of r values