Re: [R] Kaplan Meier function

From: Dieter Menne <>
Date: Thu, 14 Feb 2008 14:09:20 +0000 (UTC)

Eleni Christodoulou <elenichri <at>> 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 mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.

list of date sections of archive