search for: suvfit

Displaying 1 result from an estimated 1 matches for "suvfit".

Did you mean: survfit
2014 Jul 02
0
survplot invert number at risk labels
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 dataset) with the times= option (is this another unexpected behaviour?). survplot takes the labels from the fit passed as argument and the numbers at risk from a summary(fit, time=stime) object, thus inverting the two labels. I suppose the problem is caused...