CRAN

averisk 1.0.3

Calculation of Average Population Attributable Fractions and Confidence Intervals

Released Mar 21, 2017 by John Ferguson [aut, cre]

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

Dependencies

MASS 7.3-45

Average population attributable fractions are calculated for a set of risk factors (either binary or ordinal valued) for both prospective and case- control designs. Confidence intervals are found by Monte Carlo simulation. The method can be applied to either prospective or case control designs, provided an estimate of disease prevalence is provided. In addition to an exact calculation of AF, an approximate calculation, based on randomly sampling permutations has been implemented to ensure the calculation is computationally tractable when the number of risk factors is large.

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>averisk</artifactId>
    <version>1.0.3-b2</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:averisk')

Test Results

This package was last tested against Renjin 0.8.2427 on Sep 16, 2017.

Source

R

View GitHub Mirror

Release History