Learn R Programming

robustlmm (version 3.3-1)

rlmerMod-class: rlmerMod Class

Description

Class "rlmerMod" of Robustly Fitted Mixed-Effect Models

Arguments

Objects from the Class

Objects are created by calls to rlmer.

Methods

Almost all methods available from objects returned from lmer are also available for objects returned by rlmer. They usage is the same.

It follows a list of some the methods that are exported by this package:

Disabled methods

A log likelihood or even a pseudo log likelihood is not defined for the robust estimates returned by rlmer. Methods that depend on the log likelihood are therefore not available. For this reason the methods deviance, extractAIC and logLik stop with an error if they are called.

Details

A robust mixed-effects model as returned by rlmer.

See Also

rlmer; corresponding class in package lme4: merMod

Examples

Run this code

showClass("rlmerMod")

## convert an object of type 'lmerMod' to 'rlmerMod'
## to use the methods provided by robustlmm
fm <- lmer(Yield ~ (1|Batch), Dyestuff)
rfm <- as(fm, "rlmerMod")
compare(fm, rfm)

Run the code above in your browser using DataLab