fixef.lmekin {coxme}R Documentation

Extraction functions for Lmekin

Description

Extract the fixed effects, random effects, variance of the fixed effects, or variance of the random effects from a linear mixed effects model fit with lmekin.

Usage

## S3 method for class 'lmekin'
fixef(object, ...)
## S3 method for class 'lmekin'
ranef(object, ...)
## S3 method for class 'lmekin'
vcov(object, ...)
## S3 method for class 'lmekin'
VarCorr(x, ...)

Arguments

object

an object inheriting from class lmekin representing the result of a mixed effects model.

x

an object inheriting from class lmekin representing the result of a mixed effects model.

...

some methods for this generic require additional arguments. None are used in this method.

Value

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.

Author(s)

Terry Therneau

See Also

lmekin, random.effects, fixed.effects

Examples

efit <-  lmekin(effort ~ Type + (1|Subject), ergoStool)
ranef(efit)

[Package coxme version 2.2-1 Index]