Learn R Programming

AFheritability (version 0.1.0)

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

Description

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) .

Copy Link

Version

Install

install.packages('AFheritability')

Monthly Downloads

372

Version

0.1.0

License

GPL-2 | GPL-3

Maintainer

Elisabeth Dahlqwist

Last Published

May 17th, 2019

Functions in AFheritability (0.1.0)

AFfunction

Plot the attributable fraction as a function of heritability, disease prevalence, size of target group and intervention effect.
runShinyApp