cuminc: Predicted cumulative incidence of event according to a...

Description Usage Arguments Value Author(s) See Also


This function computes the predicted cumulative incidence of each cause of event according to a profile of covariates from a joint latent class model. Confidence bands can be computed by a Monte-Carlo method.


cuminc(x, time, draws = FALSE, ndraws = 2000, ...)



an object inheriting from class Jointlcmm


a vector of times at which the cumulative incidence is calculated


optional boolean specifying whether a Monte Carlo approximation of the posterior distribution of the cumulative incidence is computed and the median, 2.5% and 97.5% percentiles are given. Otherwise, the predicted cumulative incidence is computed at the point estimate. By default, draws=FALSE.


if draws=TRUE, ndraws specifies the number of draws that should be generated to approximate the posterior distribution of the predicted cumulative incidence. By default, ndraws=2000.


further arguments, in particular values of the covariates specified in the survival part of the joint model.


An object of class cuminc containing as many matrices as profiles defined by the covariates values. Each of these matrices contains the event-specific cumulative incidences in each latent class at the different times specified.


Viviane Philipps and Cecile Proust-Lima

See Also


Search within the lcmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.