Re: [R] survplot invert number at risk labels

2014-07-07 Thread Marco Barbàra
Hi all, and thank you for your interested answers. The problem could be already solved. It is present on my old R 2.15.1 (x86_64-pc-linux-gnu), but after reproducing the error I got the expected result on a R 3.0.2 through a web interface. However, since I spent a considerable amount of time to un

Re: [R] survplot invert number at risk labels

2014-07-02 Thread Frank Harrell
Please try hard to create a simple reproducible example, then I'll work on it. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.

[R] survplot invert number at risk labels

2014-07-02 Thread Marco Barbàra
deaR user, I found an unexpected behaviour of the rms::survplot.survfit function, that is giving me inverted labels for the patient-at-risk rows. The problem is that, for some reason, the survival::summary.survfit function changes the order of two of the suvfit object's strata when called (on my d