summary.cfc.survreg function

Summarizing and plotting output of cfc.survreg

Summarizing and plotting output of 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), ...)

Arguments

  • object: An object of class "cfc.survreg", usually the result of a call to cfc.survreg.
  • 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 summary.cfc.survreg, usually the output of summary.cfc.survreg.
  • 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.

Returns

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.

Author(s)

Mansour T.A. Sharabiani, Alireza S. Mahani

References

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

See Also

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.

  • Maintainer: Alireza S. Mahani
  • License: GPL (>= 2)
  • Last published: 2023-01-09

Useful links