CARBayes
6.1.1Spatial Generalised Linear Mixed Models for Areal Unit Data
Overview
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.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-06-0911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0811 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 47%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/duncanplee/carbayes on 2026-08-16.
Dependencies
Code & Tests
People & History
Author records are not tracked yet for this package.
37 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 6.1.1Latest
- 6.12023-11-17 · diff ↗
- 6.02023-08-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 5.32022-05-12 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 5.2.52021-09-30 · diff ↗
- 5.2.42021-05-31 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 5.2.32021-02-03 · diff ↗
- 5.2.22021-01-15 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 5.22020-03-13 · diff ↗
Show 37 earlier events
- 5.1.32019-12-12 · diff ↗
- 5.1.22019-06-21 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 5.1.12018-12-06 · diff ↗
- 5.12018-09-10 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 5.02017-06-01 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 4.72017-02-01 · diff ↗
- 4.62016-06-08 · diff ↗
- 4.52016-05-07 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 4.42016-02-03 · diff ↗
- 4.32015-09-16 · diff ↗
- 4.22015-06-30 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 4.12015-04-01 · diff ↗
- 4.02014-12-16 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 3.02014-04-04 · diff ↗
- 2.02013-12-04 · diff ↗
- 3.0.32013-12-03 · diff ↗
- 1.62013-11-05 · diff ↗
- 1.52013-09-02 · diff ↗
- 3.0.22013-08-13 · diff ↗
- 3.0.12013-05-06 · diff ↗
- 1.42013-05-06 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.32013-03-05 · diff ↗
- 2.15.32013-02-19 · diff ↗
- 1.22012-10-31 · diff ↗
- 2.15.22012-08-27 · diff ↗
- 1.12012-08-27 · diff ↗
- 2.15.12012-06-20 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 1.02012-03-27
- RR 2.14.0 released · 2011-10-31
Package metadata
- First published
- 2012-03-27
- Total releases
- 37 / 14 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 4.3 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CARBayes")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.