Description Usage Arguments Value
View source: R/EstimateCoxBaselines.R
The function BaselineHazard_NOIMP is used to estimate the baseline hazard functions within the EM algorithm under COX baseline hazards
1  BaselineHazard_NOIMP(datWIDE, Cov, beta, alpha, TransCov, ASSUME, p)

datWIDE 
A data frame with the following columns:

Cov 
matrix of covariates used in MultiCure (may have missingness) 
beta 
Current estimate of beta 
alpha 
Current estimate of alpha 
TransCov 
a list with elements: Trans13, Trans24, Trans14, Trans34, PNonCure. Each list element is a vector containing the names of the variables in Cov to be used in the model for the corresponding transition. 13 is NonCured > Recurrence, 24 is Cured > Death, 14 is NonCured > Death, 34 is Recurrence > Death. PNonCure contains the names of the covariates for the logistic regression for P(NonCure). 
ASSUME 
This variables indicates what equality assumptions we are making regarding the 24 and 14 transitions. The possible options are:

p 
The current estimate of the Estep weights 
EST a list containing a step function estimate for the CUMULATIVE baseline hazard function for each transition in the following order: 1>3, 2>4, 1>4, 3>4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.