summary.cfc.survreg: Summarizing and plotting output of 'cfc.survreg'

Description Usage Arguments Value Author(s) See Also

View source: R/cfc_survreg.R

Description

summary and method for class cfc.survreg.

Usage

1
2
3
4
## 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.

Value

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

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.


CFC documentation built on June 21, 2017, 5:03 p.m.