Skip to content

CARBayes

6.1.1

Spatial Generalised Linear Mixed Models for Areal Unit Data

1packages depend
16.3Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Duncan LeeFirst published 2012-03-2737 releasesCRAN page ↗GitHub ↗

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

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 13.8 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
18
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
47%

Downloads

16.3K
CRAN downloads in the past year
Rank #3,474 · ~45/day · ~1.4K/mo
Daily download trend is not available in this view yet.
73130 days
2.9K90 days
16.3K1 year
Compare downloads with other packages →
Also on428 r2u6 autocran65 c2d4u

Repository

Repository
16Stars
7Forks
6Open issues
2Open PRs
0Releases
17Commits
1Contributors
17 commits · Last activity 2022-09-06 · 0% stars, 30d

Stars over time

2023-10-23 · 142026-07-07 · 16

Repository practices

Upstream repositoryBeta

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.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (3)
R >= 3.5.0MASSRcpp
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 1.0 to 6.1.1
Package Timeline

37 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 6.1.1Latest
    2024-03-08 · current release · diff ↗
  • 6.1
    2023-11-17 · diff ↗
  • 6.0
    2023-08-09 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 5.3
    2022-05-12 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 5.2.5
    2021-09-30 · diff ↗
  • 5.2.4
    2021-05-31 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 5.2.3
    2021-02-03 · diff ↗
  • 5.2.2
    2021-01-15 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 5.2
    2020-03-13 · diff ↗
Show 37 earlier events
  • 5.1.3
    2019-12-12 · diff ↗
  • 5.1.2
    2019-06-21 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 5.1.1
    2018-12-06 · diff ↗
  • 5.1
    2018-09-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 5.0
    2017-06-01 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 4.7
    2017-02-01 · diff ↗
  • 4.6
    2016-06-08 · diff ↗
  • 4.5
    2016-05-07 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 4.4
    2016-02-03 · diff ↗
  • 4.3
    2015-09-16 · diff ↗
  • 4.2
    2015-06-30 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 4.1
    2015-04-01 · diff ↗
  • 4.0
    2014-12-16 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0
    2014-04-04 · diff ↗
  • 2.0
    2013-12-04 · diff ↗
  • 3.0.3
    2013-12-03 · diff ↗
  • 1.6
    2013-11-05 · diff ↗
  • 1.5
    2013-09-02 · diff ↗
  • 3.0.2
    2013-08-13 · diff ↗
  • 3.0.1
    2013-05-06 · diff ↗
  • 1.4
    2013-05-06 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.3
    2013-03-05 · diff ↗
  • 2.15.3
    2013-02-19 · diff ↗
  • 1.2
    2012-10-31 · diff ↗
  • 2.15.2
    2012-08-27 · diff ↗
  • 1.1
    2012-08-27 · diff ↗
  • 2.15.1
    2012-06-20 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.0
    2012-03-27
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CARBayes version 6.1.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy