Skip to content
Back to formatted view

Raw Message

Message-ID: <20090331211523.CD9D6595445@borg.st.net.au>
Date: 2009-03-31T21:14:45Z
From: Bob Green
Subject: error message obtained when plotting survival curves (error not previously obtained)
In-Reply-To: <mailman.21.1238493610.7892.r-help@r-project.org>

Hello,

I now receive an error message when obtaining a survival plot, which 
was not previously received with the same code. I recently updated 
all my packages. It does not seem to be a peculiarity of my data as I 
receive the error using data available in R. A plot is produced but I 
am uncertain regarding the error message.



 > library(surv2sample)
 > data(gastric)
 > fit <- survfit(Surv(time, event) ~ treatment, data = gastric)
Error in get(x, envir = ns, inherits = FALSE) :
   variable "survfit.km" was not found
 > #Default plot:
 > plot(fit)


regards

Bob Green