Spatio-Temporal Generalised Linear Mixed Models for Areal Unit Data

Implements a class of spatio-temporal generalised linear mixed models for areal unit data, with inference in a Bayesian setting using Markov chain Monte Carlo (MCMC) simulation. The response variable can be binomial, Gaussian, or Poisson, but for some models only the binomial and Poisson data likelihoods are available. The spatio-temporal autocorrelation is modelled by random effects, which are assigned conditional autoregressive (CAR) style prior distributions. A number of different random effects structures are available, including models similar to Bernardinelli et al. (1995) , Rushworth et al. (2014) and Lee et al. (2016) . Full details are given in the vignette accompanying this package. The creation of this package was supported by the Engineering and Physical Sciences Research Council (EPSRC) grant EP/J017442/1 and the Medical Research Council (MRC) grant MR/L022184/1.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


3.1 by Duncan Lee, 10 months ago

Report a bug at

Browse source code at

Authors: Duncan Lee , Alastair Rushworth and Gary Napier

Documentation:   PDF Manual  

Task views: Handling and Analyzing Spatio-Temporal Data

GPL (>= 2) license

Imports CARBayesdata, coda, dplyr, GGally, ggplot2, gridExtra, gtools, leaflet, matrixcalc, matrixStats, rgdal, sp, spam, spdep, stats, testthat, truncdist, truncnorm, utils

Depends on MASS, Rcpp

Linking to Rcpp

See at CRAN