AFheritability
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) <doi:10.1007/s00439-019-02006-8>.
Downloads
305
Last 30 days
13153rd
912
Last 90 days
3.3K
Last year
Trend: +21% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (5 non-OK)
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
Check History
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 12, 2026
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
ERROR 8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 11, 2026
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
S3 generic/method consistency
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory See section ‘Generic functions and methods’ in the ‘Writing R Extensions’ manual.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Elisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Elisabeth",
family = "Dahlqwist",
role = c("aut", "cre"),
email = "elisabeth.dahlqwist88@gmail.com")
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory