Re: [R] prediction in coxph

From: Terry Therneau <therneau_at_mayo.edu>
Date: Tue, 29 Apr 2008 08:04:20 -0500 (CDT)


> I have tried predict(coxout, newdata), it still gave me the fitted values
> only.

> Can anyone hlep me on how to do prediction for coxph? thank you very much!

  I would suggest first reading the manual page

> help(predict.coxph)

  There are several things one can predict from a Cox model. You need to tell us what you want to accomplish.   

          Terry Therneau



R-help_at_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. Received on Tue 29 Apr 2008 - 13:07:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Apr 2008 - 13:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive