The Attributable Fraction (AF) Described as a Function of Disease Heritability, Prevalence and Intervention Specific Factors

The AFfunction() is a function which returns an estimate of the Attributable Fraction (AF) and a plot of the AF as a function of heritability, disease prevalence, size of target group and intervention effect. Since the AF is a function of several factors, a shiny app is used to better illustrate how the relationship between the AF and heritability depends on several other factors. The app is ran by the function runShinyApp(). For more information see Dahlqwist E et al. (2019) .


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("AFheritability")

0.1.0 by Elisabeth Dahlqwist, 7 months ago


Browse source code at https://github.com/cran/AFheritability


Authors: Elisabeth Dahlqwist


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Depends on reshape2, mvtnorm, ggplot2, shiny


See at CRAN