Learn R Programming

mixcure (version 2.0)

coef.mixcure: Retrieve coefficients from mixture cure models

Description

Retrieve coefficients from mixture cure models

Usage

# S3 method for mixcure
coef(object, ...)

Arguments

object

a mixcure object

...

for compatibility purpose. Not used.

Value

a list of two components:

latency

a vector of coefficients in the latency model

incidence

a vector of coefficients in the incidence model

See Also

mixcure

Examples

Run this code
# NOT RUN {
data(leukaemia)
z1 = mixcure(Surv(time, cens) ~ transplant, ~ transplant, data = leukaemia, savedata = TRUE)
coef(z1)

# }

Run the code above in your browser using DataLab