APtools 6.8.8

Average Positive Predictive Values (AP) for Binary Outcomes and Censored Event Times

Released Sep 21, 2018 by Hengrui Cai

This package can be loaded by Renjin but 2 out 3 tests failed.


cmprsk 2.2-7 survival 2.42-6

We provide tools to estimate two prediction accuracy metrics, the average positive predictive values (AP) as well as the well-known AUC (the area under the receiver operator characteristic curve) for risk scores. The outcome of interest is either binary or censored event time. Note that for censored event time, our functions' estimates, the AP and the AUC, are time-dependent for pre-specified time interval(s). A function that compares the APs of two risk scores/markers is also included. Optional outputs include positive predictive values and true positive fractions at the specified marker cut-off values, and a plot of the time-dependent AP versus time (available for event time data).



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.

    <name>bedatadriven public repo</name>

View build log

Renjin CLI

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


Test Results

This package was last tested against Renjin 0.9.2692 on Oct 21, 2018.



View GitHub Mirror

Release History