[R] Numbers at risk below cumulative incidence function plot (plot.cuminc, cmprsk-package)

2012-11-28 Thread Kruijsdijk, R.C.M. van
Dear R-community, I would like to plot the numbers at risk for the different causes of failure at specific timepoints below a cumulative incidence function plot (plot.cuminc-function, cmprsk-package). For a Kaplan-Meier plot I know this is possible with the n.risk-argument in the survplot-funct

[R] Formal test for proportional subdistribution hazards assumption

2012-05-02 Thread Kruijsdijk, R.C.M. van
L.s. I want to test the proportional subdistribution hazards assumption for several competing risk regression models I fitted using the crr()-function (cmprsk-package). I am able to plot the Schoenfeld-type residuals against failure time, but in some cases I doubt whether the assumption holds o