> 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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.