summary.cfc.survreg {CFC} | R Documentation |
cfc.survreg
summary
and method for class cfc.survreg
.
## S3 method for class 'cfc.survreg' summary(object, obs.idx = "all", ...) ## S3 method for class 'summary.cfc.survreg' plot(x, which = c(1, 2), ...)
object |
An object of class "cfc.survreg", usually the result of a call to |
obs.idx |
Index of observations to calculate mean cumulative incidence for; defaults to all observation. |
... |
Further arguments to be passed to/from other methods. |
x |
An object of class |
which |
Vector of integers, indicating which plot(s) must be produced: 1) cumulative incidence functions, one per cause, as a function of time-to-index, all in the same plot, 2) comparison of cumulative incidence function with/without competing-risk adjustment. The unadjusted figure is equivalent to 1 minus the Kaplan-Meyer (i.e., survival) function. |
summary.cfc.surveeg
produces a matrix of dimensions length(object$tout)
(number of time points) by object$K
(number of causes). See description of which
aregument for plot.summary.cfc.survreg
.
Mansour T.A. Sharabiani, Alireza S. Mahani
Mahani A.S. and Sharabiani M.T.A. (2019). Bayesian, and Non-Bayesian, Cause-Specific Competing-Risk Analysis for Parametric and Nonparametric Survival Functions: The R Package CFC. Journal of Statistical Software, 89(9), 1-29. doi:10.18637/jss.v089.i09
The model fitting function is cfc.survreg
. See summary
and plot
for descriptions of the generic methods. For more flexible ways of cause-specific competing-risk analysis, see cfc
.