summary.cfc.tbasis {CFC} | R Documentation |
Summarizing time-denominated CFC objects
Description
summary
method for class cfc.tbasis
.
Usage
## S3 method for class 'cfc.tbasis'
summary(object,
MARGIN = if (class(object)[2] == "matrix") NULL else 1,
...)
## S3 method for class 'summary.cfc.tbasis'
plot(x, t = 1, ci = 0.95, ...)
Arguments
object |
An object of class "cfc.tbasis", usually the result of a call to |
MARGIN |
Dimensions of cumulative incidence and event-free probability arrays to keep while averaging the remaining dimensions. If the |
x |
An object of class "summary.cfc.tbasis", usually the result of a call to |
t |
Regular time step, or vector of time values, used for producing cumulative incidence and event-free probability plots. |
ci |
Confidence interval used in cumulative incidence and event-free probability plots. |
... |
Further arguments to be passed to/from other methods. |
Value
The function summary.cfc.tbasis
calculates the average of cumulative incidence and event-free probability functions as directed by MARGIN
. For example, if the element ci1
of the object list is three-dimensional, then using MARGIN=c(1,2)
causes the last dimension to be averaged out.
Author(s)
Alireza S. Mahani, Mansour T.A. Sharabiani
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.tbasis
. See summary
and plot
for descriptions of the generic methods. See cfc.pbasis
for probability-denominated CFC, as well as usage examples.