Mark Nye
2004-Jun-21 15:20 UTC
[R] Novice question: Smooth interpolation of survival curve
Greetings, How might one go about generating a smooth interpolation of a survival curve generated by the survfit function in the survival package? I am able to package my variables by standard methods>x<-(survfit(Surv(time),data)and plot the "step" curve, but would like to obtain a smooth estimation curve for the purpose of approximating survival time between steps on the survival curve. Is there a function in the survival package to perform this task? I have looked into other standard smoothing methods, but it seems to me that the survfit function doesn't allow for the packaging of data into separate vectors, such as would be required by approxfun et al. Many thanks, Mark
Mark Nye
2004-Jun-21 16:09 UTC
[R] Novice question: Smooth interpolation of survival curve
Greetings, How might one go about generating a smooth interpolation of a survival curve generated by the survfit function in the survival package? I am able to package my variables by standard methods>x<-(survfit(Surv(time),data)and plot the "step" curve, but would like to obtain a smooth estimation curve for the purpose of approximating survival time between steps on the survival curve. Is there a function in the survival package to perform this task? I have looked into other standard smoothing methods, but it seems to me that the survfit function doesn't allow for the packaging of data into separate vectors, such as would be required by approxfun et al. Many thanks, Mark Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963