Le lundi 13 février 2012 à 19:48 +0800, 丁飞 a écrit : > dear: > i want to know how to get a survival curve of the Cox proportional risk > regression, thank you. See the relevant part of the "Survival" Task View here: http://cran.r-project.org/web/views/Survival.html
And more specifically, see the coxph() function in the survival package. A tutorial is available from: http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf (But RSiteSearch("coxph") or a simple Google search will give you many more results.) Cheers ______________________________________________ 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.