coxme (version 2.1-1)

ranef.coxme: 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, \dots)

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.

See Also

coxme, fixef.coxme, random.effects

Examples

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

Run the code above in your browser using DataLab