Learn R Programming

rethinking (version 1.35)

glmm: Generalized linear multilevel models

Description

Convenient interface to fitting generalized linear multilevel (mixed) models with package lme4.

Usage

glmm( ... , REML=FALSE )

Arguments

...

Arguments to pass on to glmer

REML

If TRUE, fits a Gaussian glmm using restricted maximum likelihood

Value

Details

This function merely provides a convenient interface for fitting models with glmer from the lme4 package. All glmm really does is make REML=FALSE the default.

References

McElreath 2011, Statistical Rethinking.

See Also

lmer