Description Usage Arguments Value Author(s) See Also Examples
Extract the fixed effects, randome effects, variance of the fixed effects, or variance of the random effects from a coxme model.
1 2 3 4 5 6 7 8 |
object |
an object inheriting from class |
x |
an object inheriting from class |
... |
some methods for this generic require additional arguments. None are used in this method. |
the fixed effects are a vector and the variance of the fixed effects is a matrix. The random effects will be a list with one element for each random effects terms, as will be their variance.
Terry Therneau
coxme
, random.effects
,
fixed.effects
1 2 3 4 5 | rat1 <- coxme(Surv(time, status) ~ rx + (1|litter), rats)
fixed.effects(rat1)
vcov(rat1)
random.effects(rat1)[[1]] #one value for each of the 50 litters
VarCorr(rat1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.