- formula
a formula object for cure logistic model,with the response on the left of a ~ operator, and the terms on the right. The response must be a survival object as returned by the Surv.cure function.
- formula2
a formula object for event time CoxPH model
The Response can be suppressed.
- data
a data.frame in which to interpret the variables named in the formula and formula2, or in the subset and the weights argument.
- subset
expression indicating which subset of the rows of data should be used in the fit. All observations are included by default.
- na.action
a missing-data filter function. This is applied to the model.frame after any subset argument has been used. Default is options()$na.action.
- init
a list of length 3, initial values of the iteration. Its compoenents are: a vector of formula coefficients,a vector offormula2 coefficients and a step.fun step function of baseline cummulative hazard function. Default initial value is the estimate from naive separate glm and coxph models.
- control
Object of class cureph.control specifying iteration limit and other control options. Default is cureph.control(...).
- method
a character string specifying the method for estimation. The default method is the EM algorithm.
- singular.ok
logical value indicating how to handle collinearity in the model matrix. If TRUE, the program will automatically skip over columns of the X matrix that are linear combinations of earlier columns. In this case the coefficients for such columns will be NA, and the variance matrix will contain zeros. For ancillary calculations, such as the linear predictor, the missing coefficients are treated as zeros.
- var
a character string specifying the method for variance estimation. The default method is derived from the Louis formula.
- ...
other parameters passed to cureph.control.