coef.cox_cure {intsurv} | R Documentation |
Estimated Covariate Coefficients
Description
Extract the covariate coefficient estimates from a fitted Cox cure rate model with possible uncertain event status.
Usage
## S3 method for class 'cox_cure'
coef(object, part = c("both", "survival", "cure"), ...)
## S3 method for class '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 |
... |
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.