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@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.