merPredD-class {lme4} | R Documentation

## Class `"merPredD"` - a Dense Predictor Reference Class

### Description

A reference class (see mother class definition `"envRefClass"` for a mixed-effects model predictor module with a dense model matrix for the fixed-effects parameters. The reference class is associated with a C++ class of the same name. As is customary, the generator object, `merPredD`, for the class has the same name as the class.

### Note

Objects from this reference class correspond to objects in a C++ class. Methods are invoked on the C++ class object using the external pointer in the `Ptr` field. When saving such an object the external pointer is converted to a null pointer, which is why there are redundant fields containing enough information as R objects to be able to regenerate the C++ object. The convention is that a field whose name begins with an upper-case letter is an R object and the corresponding field, whose name begins with the lower-case letter is a method. References to the external pointer should be through the method, not directly through the `Ptr` field.

### See Also

`lmer`, `glmer`, `nlmer`, `merPredD`, `merMod`.

### Examples

    showClass("merPredD")
    pp <- slot(lmer(Yield ~ 1|Batch, Dyestuff), "pp")
    stopifnot(is(pp, "merPredD"))
    str(pp) # an overview of all fields and methods' names.

[Package lme4 version 1.1-12 Index]