Description Details Author(s) References Examples
Computing the point estimator and pointwise confidence interval of the cumulative incidence function from the cause-specific hazards model. This package contains generic methods (plot,summary) that can be invoked for an object fitted using est.CIF().
This package was not yet installed at build time.
Jiayi Hou and Ronghui Xu
Maintainer: Jiayi Hou <jhou12@icloud.com>
Cheng, S. C., Jason P. Fine, and L. J. Wei. "Prediction of cumulative incidence function under the proportional hazards model." Biometrics (1998): 219-228. DOI: 10.2307/2534009
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
data("train.data")
data("test.data2")
#1.Example: no group in training and test #
formulas <- list(as.formula("Surv(dtime, prostate) ~ AG + WT + PF + HX +HG + SZ + SG + RX"),
as.formula("Surv(dtime, cardio) ~ AG + WT + PF + HX +HG + SZ + SG + RX"),
as.formula("Surv(dtime, Other_causes) ~ AG + WT + PF + HX +HG + SZ + SG + RX"))
CIF.output <- est.CIF(formulas, data = train.data, newdata = test.data2,
group=NULL, compute.CI=T,save=F)
plot(CIF.output)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.