Re: [R] help with a survplot

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Sat, 30 Apr 2011 12:49:12 -0400

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



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. Received on Sat 30 Apr 2011 - 16:56:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 01 May 2011 - 11:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive