[R] How to set type of censored data in coxph regression
Terry Therneau
therneau at mayo.edu
Thu Mar 13 14:36:33 CET 2008
> Dear R users,
> I tried to analysis the hazard function of some data by coxph function in
> survival package.
>The type of the data include "left-censored", "right-censored", "both
> right-censored and
> left-censored" (btw, does this has a technical term?), and "complete" ones.
The coxph function is only defined for right-censored data. That is why you
get an error when you include left and interval censored observations.
Terry Therneau
More information about the R-help
mailing list