The function COVIMPUTEINITIALIZE will initialize the missing covariate values. An example function is included in the package, but the user must specify their own function when applying MultiCure to datasets with covariate missingness. This function must have input/output as described below.
matrix of covariates, same as in MultiCure
A matrix indicating which elements of Cov are missing.
The example code included in the package initializes missing covariate X2 in the Multistate cure model example
Cov a initialized version of the covariate matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.