CRAN

AF 0.1.4

Model-Based Estimation of Confounder-Adjusted Attributable Fractions

Released Feb 11, 2017 by Elisabeth Dahlqwist and Arvid Sjölander

This package can be loaded by Renjin but all tests failed.

Dependencies

data.table 1.10.4-3 stdReg 2.2.0 survival 2.41-3 drgee 1.1.6

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) and gamma-frailty model with a Weibull baseline hazard. The variance of the estimator is obtained by combining the delta method with the the sandwich formula. Dahlqwist et al.(2016) .

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>AF</artifactId>
    <version>0.1.4-b11</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:AF')

Test Results

This package was last tested against Renjin 0.8.2523 on Nov 12, 2017.

Source

R

View GitHub Mirror

Release History