[R] CensorReg

Thomas Lumley tlumley at u.washington.edu
Mon Feb 12 17:41:33 CET 2001

On Mon, 12 Feb 2001, Kel wrote:

> Hi Group,
> I wonder if R has the function CensorReg which takes
> care of left truncation.  I know it's in S.  Thank you
> so much!

In R the survival analysis functions live in the 'survival5' package.
survreg() is the nearest equivalent to CensorReg. It fits parametric
survival models.  coxph() fits semiparametric proportional hazards models.
They both allow left-truncation. survreg() in addition allows
left-censoring and interval censoring.


PS: CensorReg() is not in S. It's in recent versions of S-PLUS.

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list