The R package coxphw implements weighted estimation in Cox regression as proposed by Schemper, Wakounig and Heinze (Statistics in Medicine, 2009, ) and as described in Dunkler, Ploner, Schemper and Heinze (Journal of Statistical Software, 2018, ). The package provides options to estimate time-dependent effects conveniently by including interactions of covariates with arbitrary functions of time, with or without making use of the weighting option.

This package is licensed under GPL-3, and available on CRAN: https://cran.r-project.org/package=coxphw.