David Winsemius
On Mar 31, 2009, at 5:14 PM, Bob Green wrote:
>
> 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
>
> ______________________________________________
> 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.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT