[R] Survival Analysis Table
Marc Schwartz
MSchwartz at MedAnalytics.com
Mon Nov 1 14:28:49 CET 2004
On Mon, 2004-11-01 at 03:33, Neil Leonard wrote:
> Hi,
>
> I am trying to compute a table of a Kaplan Meier survival function.
>
> I have created the Kaplan Meier using:
>
> field.KM <-
> survfit(Surv(project_no_1983$entryage3,project_no_1983$age_at_death,proj
> ect_no_1983$death)~1)
>
> and I want to find the survival rate and confidence intervals at
> different times (eg, 1 year, 2 years, 5 years, etc).
>
> Can anybody tell me how to do this?
>
>
> Thanks,
> Neil
See ?summary.survfit and note the 'times' argument.
HTH,
Marc Schwartz
More information about the R-help
mailing list