On Apr 30, 2011, at 10:44 AM, Jabba wrote:
> Dear useRs,
>
> I was asked to produce a survival curve like this:
>
> http://www.palug.net/Members/jabba/immaginetta.png/view
>
> with the cardinality of the riskset at the bottom.
The 2nd sentence of help page for survival::survplot says that is an
inbuilt option.
>
> I do not like doing it, because it doesn't add any valuable
> information
> 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
> know
> grid.
>
> Thank you so much for the attention paid.
>
> Marco Barb?ra.
>
> ______________________________________________
> 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
West Hartford, CT