knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

This vignette is a modified version of a course I gave about generalised linear mixed models (GLMM). Special emphasis is placed on understanding the underlying structure of a GLMM in order to show that slight modifications of this structure can produce a wide range of models. These include familiar models like regression, but also models with intimidating names: animal models, threshold models, meta-analysis, Rasch models and random regression... The primary aim of this course is to show that these models are only daunting by name. The secondary aim is to show how these models can be fitted in a Bayesian framework using Markov chain Monte Carlo (MCMC) methods in the R package MCMCglmm.

library(MCMCglmm)










jarrodhadfield/MCMCglmm documentation built on July 17, 2025, 2:18 a.m.