ranef.LmME: Extract the conditional modes of random effects of an LmME...

Description Usage Arguments Value Examples

View source: R/LmME.R

Description

The condVar option is not implemented for ranef.LmME. Setting raw=TURE will return the raw random effects estimates from the transformation model parametrization.

Usage

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

Arguments

object

A fitted LmME object.

as.lm

If TRUE, return the transformed conditional modes as in a normal linear mixed effects model.

...

Optional parameters passed to ranef.tramME.

Value

A numeric vector or a ranef.tramME object depending on the inputs.

Examples

1
2
3
4
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
ranef(fit, raw = TRUE) ## transformation model parametrization!
ranef(fit, as.lm = TRUE)

tramME documentation built on Aug. 16, 2021, 5:08 p.m.