< Previous

R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS. To download R, please click on this link and choose your preferred CRAN mirror.

We propose the ROCt package. This is a collection of simple R functions that were used for computing time-dependent ROC curve using Kaplan-Meier (KM) estimator or the k-nearest neighbor's (KNN) adaptation. Both approaches are developed for traditional survival analysis (all-cause analysis) and for the the additive relative survival analysis (excess of mortality). It executes tasks on a single, multiprocessor machine.

Download the ROCt package and save the resulting file to your machine

Install the ROCt package

  • Shut down R if it is running.
  • Using a command-line window navigate (using the "cd" command) to the directory where you saved the file and issue the command: sudo R CMD INSTALL roct_0.x.tar.gz.
  • Shut down R if it is running.
  • Restart R from the Start Menu.
  • From the Packages menu, choose the Install package(s) from local zip files.
  • Navigate to and choose the file you just downloaded:
If you find any bugs in ROCt package, please e-mail us and we will take your comments into account in the next version.


This work was supported by a grant from the French National Agency of Research (ANR-11-JSV1-0008-01)