AF: Model-Based Estimation of Confounder-Adjusted Attributable Fractions

Estimates the attributable fraction in different sampling designs adjusted for measured confounders using logistic regression (cross-sectional and case-control designs), conditional logistic regression (matched case-control design), Cox proportional hazard regression (cohort design with time-to- event outcome), gamma-frailty model with a Weibull baseline hazard and instrumental variables analysis. An exploration of the AF with a genetic exposure can be found in the package 'AFheritability' Dahlqwist E et al. (2019) <doi:10.1007/s00439-019-02006-8>.

Getting started

Package details

AuthorElisabeth Dahlqwist and Arvid Sjolander
MaintainerElisabeth Dahlqwist <elisabeth.dahlqwist88@gmail.com>
LicenseGPL-2 | GPL-3
Version0.1.5
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("AF")

Try the AF package in your browser

Any scripts or data that you put into this service are public.

AF documentation built on May 21, 2019, 1:01 a.m.