Extract the covariate coefficient estimates from a fitted Cox cure rate model with possible uncertain event status.

# S3 method for cox_cure
coef(object, part = c("both", "survival", "cure"), ...)

# S3 method for cox_cure_uncer
coef(object, part = c("both", "survival", "cure"), ...)

Arguments

object

Object representing a fitted model.

part

A character string specifying the coefficient estimates from a particular model part. The available options are "both" for the coefficient estimates from both model parts, "survival" for the coefficient estimates from the survival model part, and "cure" for the coefficient estimates from the cure rate model part. The default option is "all".

...

Other arguments for future usage.

Value

If part = "both", this function returns a list that consists of the following named elements

  • surv: the coefficient estimates of survival model part.

  • cure: the coefficient estimates of cure rate model part.

Otherwise, a named numeric vector representing the coefficient estimates of the specified model part will be returned.