powered by
`h2_liability()` converts heritability estimates from the observed to liability scale.
h2_liability(h2, sample_prev, population_prev)
(numeric) Liability-scale heritability
(numeric) Estimate of observed-scale heritability
(numeric) Proportion of cases in the current sample
(numeric) Population prevalence of trait
h2_liability(0.28, 0.1, 0.05)
Run the code above in your browser using DataLab