CARBayes
Spatial Generalised Linear Mixed Models for Areal Unit Data
Description
Implements a class of univariate and multivariate spatial generalised linear mixed models for areal unit data, with inference in a Bayesian setting using Markov chain Monte Carlo (MCMC) simulation using a single or multiple Markov chains. The response variable can be binomial, Gaussian, multinomial, Poisson or zero-inflated Poisson (ZIP), and spatial autocorrelation is modelled by a set of random effects that are assigned a conditional autoregressive (CAR) prior distribution. A number of different models are available for univariate spatial data, including models with no random effects as well as random effects modelled by different types of CAR prior, including the BYM model (Besag et al., 1991, <doi:10.1007/BF00116466>) and Leroux model (Leroux et al., 2000, <doi:10.1007/978-1-4612-1284-3_4>). Additionally, a multivariate CAR (MCAR) model for multivariate spatial data is available, as is a two-level hierarchical model for modelling data relating to individuals within areas. Full details are given in the vignette accompanying this package. The initial creation of this package was supported by the Economic and Social Research Council (ESRC) grant RES-000-22-4256, and on-going development has been supported by the Engineering and Physical Science Research Council (EPSRC) grant EP/J017442/1, ESRC grant ES/K006460/1, Innovate UK / Natural Environment Research Council (NERC) grant NE/N007352/1 and the TB Alliance.
Downloads
928
Last 30 days
3889th
1.6K
Last 90 days
1.6K
Last year
Trend: +41.3% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘Duncan Lee <Duncan.Lee@glasgow.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Duncan",
family = "Lee",
role = c("aut", "cre"),
email = "duncan.lee@glasgow.ac.uk")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Duncan Lee <Duncan.Lee@glasgow.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Duncan",
family = "Lee",
role = c("aut", "cre"),
email = "duncan.lee@glasgow.ac.uk")
as necessary.
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Duncan Lee <Duncan.Lee@glasgow.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Duncan",
family = "Lee",
role = c("aut", "cre"),
email = "duncan.lee@glasgow.ac.uk")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Duncan Lee <Duncan.Lee@glasgow.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Duncan",
family = "Lee",
role = c("aut", "cre"),
email = "duncan.lee@glasgow.ac.uk")
as necessary.