weibull.frailty(formula = formula(data), data = parent.frame(),
id = "id", subset, na.action, init, control = list())
formula
: a symbolic description of the model to be fitted. The response must
be a survival object as returned by function Surv()
.data
or a numeric vector specifying which event times belong to
the same cluster (e.g., hospital, patient, etc.).weibull.frailty
with components:betas
, scale
, shape
,
and var.frailty
, and correspond to the coefficients with the same name.control
argument.Surv
containing the observed event times and the censoring indicator.id
, if that was a character string.data
or the created model.frame
.weibull.frailty(Surv(time, status) ~ age + sex, kidney)
Run the code above in your browser using DataLab