LMERlike-class: Wrapper for lmer/glmer

Description Usage Arguments Value Methods (by generic) Slots

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'LMERlike'
update(object, formula., design, ...)

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

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

## S4 method for signature 'LMERlike'
logLik(object)

Arguments

object

LMERlike

formula.

formula

design

something coercible to a data.frame

...

In the case of vcov, ignored. In the case of update, passed to model.matrix.

which

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

singular

logical. Should NA coefficients be returned?

Value

see the section "Methods (by generic)"

Methods (by generic)

Slots

pseudoMM

part of this horrendous hack.

strictConvergence

logical (default: TRUE) return results even when the optimizer or *lmer complains about convergence

optimMsg

character record warnings from lme. NA_character_ means no warnings.


MAST documentation built on Nov. 8, 2020, 8:19 p.m.