coef.LmME: Extract the coefficients of the fixed effects terms of an...

Description Usage Arguments Value Examples

View source: R/LmME.R

Description

Extract the coefficients of the fixed effects terms of an LmME model.

Usage

1
2
## S3 method for class 'LmME'
coef(object, as.lm = FALSE, fixed = TRUE, ...)

Arguments

object

An LmME object.

as.lm

If TRUE, return the transformed coefficients as in a lmerMod object.

fixed

If TRUE, also include the fixed parameters.

...

Optional arguments passed to coef.tramME.

Value

A numeric vector of the transformed coefficients.

Examples

1
2
3
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
coef(fit, as.lm = TRUE)

tramME documentation built on April 14, 2021, 1:06 a.m.