competing.risk {randomSurvivalForest} | R Documentation |
Plot the ensemble cumulative incidence function (CIF), ensemble subsurvival function, ensemble conditional survival function, and ensemble unconditional survival function from a random survival forests competing risk analysis (Ishwaran et al., 2010).
competing.risk(x, plot = TRUE, ...)
x |
An object of class |
plot |
Should curves be plotted? |
... |
Further arguments passed to or from other methods. |
From top to bottom, left to right are plots of the: (a) ensemble CIF; (b) ensemble subsurvival function; (c) ensemble conditional survival functions; and (d) ensemble (unconditional) survival function. See Gray (1988) for motivation regarding the CIF and subsurvival functions.
For right-censored data, only the survival function is plotted.
Whenever possible, out-of-bag (OOB) values are plotted.
Invisibly, the ensemble CIF, ensemble subsurvival function and conditional mortality for each event type. Whenever possible, OOB values are returned.
Hemant Ishwaran hemant.ishwaran@gmail.com
Udaya B. Kogalur kogalurshear@gmail.com
Gray R.J. (1988). A class of k-sample tests for comparing the cumulative incidence of a competing risk, Ann. Statist., 16:1141-1154.
Ishwaran H., Kogalur U.B., Moore R.D., Gange S.J. and Lau B.M. (2010). Random survival forests for competing risks.
rsf
,
wihs
.
## Not run: data(follic, package = "randomSurvivalForest") follic.out <- rsf(Surv(time, status) ~ ., follic, nsplit = 3, ntree = 100) competing.risk(follic.out) ## End(Not run)