Re: [R] Kaplan Meier function

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Thu, 14 Feb 2008 14:09:20 +0000 (UTC)

Eleni Christodoulou <elenichri <at> gmail.com> writes:

> I am trying to draw a Kaplan-Meier curve and I found online that Kaplan -
> Meier estimates are computed with a function called km in the event package.
> Is there an update for that because when I choose to download packages in
> R,. there is no package called event, even though I have selected all the
> repositories.
>

The standard survival package is package survival. Try survfit, plot.survfit, and summary(survfit). There are some fancy extension in package Design, but better start with survival, Design-based KM have huge options list that can be confusing at first.

Dieter



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 Thu 14 Feb 2008 - 14:44:18 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 Thu 14 Feb 2008 - 15:30:14 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