ranef.mexhaz | R Documentation |
Display a data frame containing the cluster-specific random effects with their standard errors.
## S3 method for class 'mexhaz'
ranef(x, ...)
x |
an object of class |
... |
not used. |
A data frame with three columns containing the cluster names, the random effect estimates, and their standard errors.
mexhaz
data(simdatn1)
## Fit of a mixed-effect excess hazard model, with the baseline hazard
## described by a Weibull distribution (without covariables)
Mod_weib_mix <- mexhaz(formula=Surv(time=timesurv,
event=vstat)~1, data=simdatn1, base="weibull",
expected="popmrate", verbose=0, random="clust")
ranef(Mod_weib_mix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.