plotting Kaplan Meier using ggplot2 returns class function error
On Aug 22, 2012, at 12:53 PM, C W wrote:
Hi list I am running this ggplot2 R code: http://www.r-bloggers.com/an-enhanced-kaplan-meier-plot/ with its graphical output looks like this: http://statbandit.files.wordpress.com/2011/03/rstudio-v79384.pdf It gives me this error: ggplot2 doesn't know how to deal with data of class function I looked around seems like it's a common problem, but haven't found a solution.
You should read the comments on that blog page. That question was already posed.
David Winsemius, MD Alameda, CA, USA