On Mon, 26 Oct 2009 15:10:42 -0700 Frank E Harrell Jr <f.harr...@vanderbilt.edu> wrote:
> > survplot(survest(fit.example1), n.risk=T, conf='none', > > cex.n.risk=.85, dots=T, col='gray10', lty=2) > > The argument to survplot should be a cph or psm or survfit object (or > a survest result on a psm object). My apologies, all that and I made a typo. I have been doing: survplot(survfit(fit.example1), n.risk=...) Perhaps this is still incorrect? It does plot, but no legend, so it is likely incorrect. Trying to plot the cph object does not work for me. I get an error about the datadist not including the data. I did make a datadist that is the master dataframe of which what I am trying to plot is a subset thereof. Thanks, Aric IMPORTANT WARNING: This email (and any attachments) is ...{{dropped:9}} ______________________________________________ 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.