Skip to content

CARBayes

Spatial Generalised Linear Mixed Models for Areal Unit Data

v6.1.1 · Mar 8, 2024 · GPL (>= 2)

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

829

Last 30 days

4303rd

2.6K

Last 90 days

16.2K

Last year

Trend: -11.2% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
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 (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies MASS Rcpp CARBayesdata coda dplyr GGally glmnet igraph mapview MCMCpack RColorBrewer sf spam spdep truncnorm bmstdr CARBayes

Version History

new 6.1.1 Mar 10, 2026
updated 6.1.1 ← 6.1 diff Mar 7, 2024
updated 6.1 ← 6.0 diff Nov 16, 2023
updated 6.0 ← 5.3 diff Aug 8, 2023
updated 5.3 ← 5.2.5 diff May 11, 2022
updated 5.2.5 ← 5.2.4 diff Sep 29, 2021
updated 5.2.4 ← 5.2.3 diff May 30, 2021
updated 5.2.3 ← 5.2.2 diff Feb 2, 2021
updated 5.2.2 ← 5.2 diff Jan 14, 2021
updated 5.2 ← 5.1.3 diff Mar 12, 2020
updated 5.1.3 ← 5.1.2 diff Dec 11, 2019
updated 5.1.2 ← 5.1.1 diff Jun 20, 2019
updated 5.1.1 ← 5.1 diff Dec 5, 2018
updated 5.1 ← 5.0 diff Sep 9, 2018
updated 5.0 ← 4.7 diff May 31, 2017
updated 4.7 ← 4.6 diff Jan 31, 2017
updated 4.6 ← 4.5 diff Jun 7, 2016
updated 4.5 ← 4.4 diff May 6, 2016
updated 4.4 ← 4.3 diff Feb 2, 2016
updated 4.3 ← 4.2 diff Sep 15, 2015