Skip to contents

h2_liability() converts heritability estimates from the observed to liability scale.

Usage

h2_liability(h2, sample_prev, population_prev)

Arguments

h2

(numeric) Estimate of observed-scale heritability

sample_prev

(numeric) Proportion of cases in the current sample

population_prev

(numeric) Population prevalence of trait

Value

(numeric) Liability-scale heritability

Examples

h2_liability(0.28, 0.1, 0.05)
#> [1] 0.6599107