IPWsurvival


< 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.

In observational studies, the presence of confounding factors is common and the comparison of different groups of subjects requires adjustment. In this package, we propose to R-users simple functions to estimate adjusted survival curves and log-rank test based on inverse probability weighting (IPW).

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


Install the IPWsurvival 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 IPWsurvival_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: IPWsurvival_0.x.zip.
If you find any bugs in roc632 package, please e-mail us and we will take your comments into account in the next version.