summary
method for class cfc.tbasis
.
# S3 method for cfc.tbasis
summary(object,
MARGIN = if (class(object)[2] == "matrix") NULL else 1,
...)
# S3 method for summary.cfc.tbasis
plot(x, t = 1, ci = 0.95, ...)
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.
An object of class "cfc.tbasis", usually the result of a call to cfc.tbasis
.
Dimensions of cumulative incidence and event-free probability arrays to keep while averaging the remaining dimensions. If the cfc.tbasis
object is a matrix, no averaging is performed, and the function returns the object unchanged. Note that for list objects, MARGIN
must include 1
since it is meaningless to average out the time/probability dimension (which is always the first one).
An object of class "summary.cfc.tbasis", usually the result of a call to summary.cfc.tbasis
.
Regular time step, or vector of time values, used for producing cumulative incidence and event-free probability plots.
Confidence interval used in cumulative incidence and event-free probability plots.
Further arguments to be passed to/from other methods.
Alireza S. Mahani, Mansour T.A. Sharabiani
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