ranef.coxme {coxme}R Documentation

Extract coxme Random Effects

Description

The estimated random effects are a list with one element for each random term in the model. The list elements themselves may be a vector, matrix, or list.

Usage

## S3 method for class 'coxme':
ranef(object, ...)

Arguments

object an object inheriting from class coxme, representing a fitted Cox mixed-effects survival model.
... some methods for this generic require additional arguments. None are used in this method.

Value

a list as described above.

Author(s)

Terry Therneau

See Also

coxme, fixed.effects.coxme random.effects

Examples

rat1 <- coxme(Surv(time, status) ~ rx + (1|litter), rats)
ranef(rat1)

[Package coxme version 2.0 Index]