coxme (version 2.1-1)

fixef.coxme: Extract coxme Fixed Effects

Description

Extract the fixed effects portion from a coxme model.

Usage

## S3 method for class 'coxme':
fixef(object, \dots)

Arguments

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

Value

  • the vector of coefficients for the fixed effects

See Also

coxme, ranef.coxme, fixed.effects

Examples

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

Run the code above in your browser using DataLab