[R] help with a survplot
dwinsemius at comcast.net
Sat Apr 30 18:49:12 CEST 2011
On Apr 30, 2011, at 10:44 AM, Jabba wrote:
> Dear useRs,
> I was asked to produce a survival curve like this:
> with the cardinality of the riskset at the bottom.
The 2nd sentence of help page for survival::survplot says that is an
> I do not like doing it, because it doesn't add any valuable
> and because it doesn't discriminate between died and censored.
> Nevertheless, is there someone able to tell me how to do it? Currently
> the only way I know to it is using the text() function, but this would
> make much more diffcult drawing the other annotations, I believe.
> Probably a grid viewport could serve the purpose, but i still don't
> Thank you so much for the attention paid.
> Marco Barbàra.
> R-help at r-project.org mailing list
> 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
West Hartford, CT
More information about the R-help