The R package coxphw implements weighted estimation in Cox regression as proposed by Schemper, Wakounig and Heinze (Statistics in Medicine, 2009, ). 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-2, and available on CRAN: https://cran.r-project.org/package=coxphw.