Hello all.

I've been attempting to utilize the "survival" pkg (
http://cran.r-project.org/web/packages/survival/index.html), while reading
through this guide (http://www.ms.uky.edu/~mai/Rsurv.pdf). I figured working
through the guide would be the best way to go, before attempting my own
data.

I tried to utilize the Kaplain-Meier estimator as shown in the guide:
       summary(survfit(Surv(aml$time[1:11],aml$status[1:11])))

This, however, returns the error:

        Error in survfit(Surv(aml$time[1:11], aml$status[1:11])) :
  Survfit requires a formula or a coxph fit as the first argument

Obviously the first thing that throws me is that apparently the package's
guide doesn't actually work with the package. That seems a glaring
oversight, so my first thought is obviously that I've missed
a setting somewhere.

I then tried to provide a function for survfit, as requested, but I could no
x-axis variable for the function (assuming Surv[] is the response variable)
that would make it work.

Any ideas/suggestions?

	[[alternative HTML version deleted]]

