[R] survival: fitting equation to survival curve?
Lancaster, Robert (Orbitz)
ROBERT.LANCASTER at orbitz.com
Wed Oct 26 23:37:35 CEST 2011
I was able to resolve my issue. I assumed my survival rates followed an exponential, so took the log of them and fit the resulting values to a linear model.
Would survreg allow me skip this step? I'm a newbie to the survival package so am not very familiar with its capabilities.
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Lancaster, Robert (Orbitz)
Sent: Wednesday, October 26, 2011 1:40 PM
To: r-help at r-project.org
Subject: [R] survival: fitting equation to survival curve?
Given a survfit object, is it possible to fit an equation to the resulting survival curve? Is this possible? What about with a coxph or survreg object?
TIA,
Rob
[[alternative HTML version deleted]]
______________________________________________
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.
More information about the R-help
mailing list