Skip to content

Gibbs Samplers for Discrete Bayesian Spatiotemporal Models

0packages depend
2.4Kdownloads / year
35.4%test coverage
13/13flavors OK

Overview

About

Takes Poisson or Binomial discrete spatial data and runs a Gibbs sampler for a variety of Spatiotemporal Conditional Autoregressive (CAR) models. Includes measures to prevent estimate over-smoothing through a restriction of model informativeness for select models. Also provides tools to load output and get median estimates. Implements methods from Besag, York, and Mollié (1991) "Bayesian image restoration, with two applications in spatial statistics" doi:10.1007/BF00116466, Gelfand and Vounatsou (2003) "Proper multivariate conditional autoregressive models for spatial data analysis" doi:10.1093/biostatistics/4.1.11, Quick et al. (2017) "Multivariate spatiotemporal modeling of age-specific stroke mortality" doi:10.1214/17-AOAS1068, and Quick et al. (2021) "Evaluating the informativeness of the Besag-York-Mollié CAR model" doi:10.1016/j.sste.2021.100420.

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-12
  • WARNING12 OK, 1 WARNING2026-05-11
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.0
README· In the repository, left out of the releaseVignettesYes · 12 · dynamicNEWS· In the repository, left out of the releaseCitation fileNoWebsiteYes · pkgdown
Help pages
22includes a package overview page
Examples that run
100%14 run in a plain check (1 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
5%

Downloads

2.4K
CRAN downloads in the past year
Rank #9,977 · ~7/day · ~204/mo
Daily download trend is not available in this view yet.
35330 days
1K90 days
2.4K1 year
Compare downloads with other packages →
Also on276 r2u1 autocran

Repository

1Stars
1Forks
0Open issues
0Open PRs
0Releases
399Commits
3Commit identities
License file reads as Apache-2.0 · DESCRIPTION declares GPL (>= 3) · 399 commits · Last activity 2026-07-08
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
9
Median days to close, 50 most recently updated closed PRs
1
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/cehi-code-repos/rstr on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-07-08 · The repository has a site deploy workflow

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing RSTr adds 17 packages (14 with compiled code, 31 MB of source tarballs). Heaviest: sf 9.3 MB, spdep 4.5 MB, sp 4.3 MB.

Depends (1)
R >= 4.3.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2026)
Releases (3)

Pick two releases to compare their code metrics.

  • 1.2.0Latest
    record
    2026-07-08 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4
    record
    2026-01-31 · diff ↗ ·
    added 1 export
    split_sample_groups
  • 1.0.0
    record
    2026-01-17
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-17
Total releases
3 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.3.0
Bundled data
428 KB / 7 files
Download size
2.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RSTr")
DeLara, D., & Centers for Disease Control and Prevention. (2026). RSTr: Gibbs Samplers for Discrete Bayesian Spatiotemporal Models (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.RSTr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 RSTr version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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