coef.mixcure {mixcure} | R Documentation |
Retrieve coefficients from mixture cure models
Description
Retrieve coefficients from mixture cure models
Usage
## S3 method for class '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 |
Author(s)
Yingwei Peng
See Also
mixcure
Examples
data(leukaemia)
z1 = mixcure(Surv(time, cens) ~ transplant, ~ transplant, data = leukaemia, savedata = TRUE)
coef(z1)
[Package mixcure version 2.0 Index]