COVIMPUTEINITIALIZE: COVIMPUTEINITIALIZE

Description Usage Arguments Details Value

View source: R/COVIMPUTEINITIALIZE_Example.R

Description

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.

Usage

1
COVIMPUTEINITIALIZE(Cov, CovMissing)

Arguments

Cov

matrix of covariates, same as in MultiCure

CovMissing:

A matrix indicating which elements of Cov are missing.

Details

The example code included in the package initializes missing covariate X2 in the Multistate cure model example

Value

Cov a initialized version of the covariate matrix


lbeesleyBIOSTAT/MultiCure documentation built on April 18, 2018, 11:08 p.m.