Learn R Programming

PRIST (version 0.925)

LMERlike-class: Wrapper for lmer/glmer

Description

A horrendous hack is employed in order to do arbitrary likelihood ratio tests: the model matrix is built, the names possibly mangled, then fed in as a symbolic formula to glmer/lmer. This is necessary because there is no (easy) way to specify an arbitrary fixed-effect model matrix in glmer.

Usage

# S4 method for LMERlike
vcov(object, which, ...)

# S4 method for LMERlike coef(object, which, singular = TRUE, ...)

Arguments

object

LMERlike

which

character, one of 'C', 'D'.

...

ignored

singular

logical. Should NA coefficients be returned?

Methods (by generic)

  • vcov: return the variance/covariance of component which

  • coef: return the coefficients. The horrendous hack is attempted to be undone.

Slots

pseudoMM

part of this horrendous hack.