Re: [R] help with a survplot
Il giorno Thu, 5 May 2011 18:42:11 -0700 (PDT) Frank Harrell f.harr...@vanderbilt.edu ha scritto: Hi Marco, You're welcome. The number at risk at given time points is a fairly standard thing to add to survival plots. I know, but last year, as a newbye in biostatistics, i felt the need to read rms book exactly because there were plenty of standard things that did not convince me. __ 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.
Re: [R] help with a survplot
Il giorno Mon, 2 May 2011 07:30:10 -0700 (PDT) Frank Harrell f.harr...@vanderbilt.edu ha scritto: Please elaborate. It is simply that, generally speaking, i don't like adding numbers to a plot. I eventually realized that riskset cardinality may be a useful indication. However, do not discriminate between events and censored observations could generate some confusion, i think. Anyway, thanks to your software i was able to produce what i was requested for in very little time, so thank you very much. __ 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.
Re: [R] help with a survplot
Hi Marco, You're welcome. The number at risk at given time points is a fairly standard thing to add to survival plots. I don't think many people will confuse it with numbers of events. Personally I find shaded confidence bands a bit more helpful but both are useful. Frank Marco Barbàra-2 wrote: Il giorno Mon, 2 May 2011 07:30:10 -0700 (PDT) Frank Harrell lt;f.harr...@vanderbilt.edugt; ha scritto: Please elaborate. It is simply that, generally speaking, i don't like adding numbers to a plot. I eventually realized that riskset cardinality may be a useful indication. However, do not discriminate between events and censored observations could generate some confusion, i think. Anyway, thanks to your software i was able to produce what i was requested for in very little time, so thank you very much. __ 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. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/help-with-a-survplot-tp3485998p3500488.html Sent from the R help mailing list archive at Nabble.com. __ 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.
Re: [R] help with a survplot
Thank you very much. Despite prof. Harrell's support (for whom I feel great esteem) I still remain doubtful about this feature. __ 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.
Re: [R] help with a survplot
Please elaborate. Thanks Frank Marco Barbàra-2 wrote: Thank you very much. Despite prof. Harrell's support (for whom I feel great esteem) I still remain doubtful about this feature. __ 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. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/help-with-a-survplot-tp3485998p3490126.html Sent from the R help mailing list archive at Nabble.com. __ 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.
Re: [R] help with a survplot
On Apr 30, 2011, at 6:06 PM, Thomas Lumley wrote: On Sun, May 1, 2011 at 4:49 AM, David Winsemius dwinsem...@comcast.net wrote: 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. There isn't a survival::survplot. Perhaps you mean rms::survplot? Apologies. I was confused about which package it was in. I generally load survival by require()-ing rms, and thought (without looking at what was plainly to see) was from survival. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland David Winsemius, MD West Hartford, CT __ 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.
Re: [R] help with a survplot
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@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@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.
Re: [R] help with a survplot
On Sun, May 1, 2011 at 4:49 AM, David Winsemius dwinsem...@comcast.net wrote: 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. There isn't a survival::survplot. Perhaps you mean rms::survplot? -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ 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.