Skip to content

Bayesian Analysis, No Gibbs

0packages dependsuggested by 1
27.4Kdownloads / year
93.0%test coverage
13/13flavors OK

Overview

About

Provides functions for the Bayesian analysis of some simple commonly-used models, without using Markov Chain Monte Carlo (MCMC) methods such as Gibbs sampling. The 'rust' package https://cran.r-project.org/package=rust is used to simulate a random sample from the required posterior distribution, using the generalized ratio-of-uniforms method. See Wakefield, Gelfand and Smith (1991) DOI:10.1007/BF01889987 for details. At the moment three conjugate hierarchical models are available: beta-binomial, gamma-Poisson and a 1-way analysis of variance (ANOVA).

Changes in 1.0.4

Bug fixes and minor improvements

  • Fixed 2 \link{} targets with missing (rust) package anchors in Rd files for hanova1() and hef().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.4 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.4
READMEYes · 200 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.0.4Citation fileNoWebsiteYes · pkgdown
Help pages
18includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
50%

Downloads

27.4K
CRAN downloads in the past year
Rank #2,832 · ~75/day · ~2.3K/mo
Daily download trend is not available in this view yet.
1.6K30 days
5.1K90 days
27.4K1 year
Compare downloads with other packages →
Also on124 r2u27 autocran83 c2d4u

Repository

4Stars
1Forks
0Open issues
0Open PRs
5Releases
276Commits
1Commit identities
bayesiangibbshierarchicalanovabetabinomialgammapoisson
License file reads as GPL-3.0 · 276 commits · Last activity 2026-02-06 · Default branch at 1.0.4.9000, ahead of CRAN 1.0.4 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-05-14 · 42026-07-07 · 4
PracticesBeta

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

Checks run against github.com/paulnorthrop/bang on 2026-10-18.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

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

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-02-06

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing bang adds 46 packages (26 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bayesplot 5.0 MB.

Depends (1)
R >= 3.3.0
Imports (4)
bayesplotgraphicsruststats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2017), Copyright holder
Author, Copyright holder
Listed in earlier versions (2)
Benjamin D.
no longer listed · 1.0.0 to 1.0.4
Paul J.
no longer listed · 1.0.0 to 1.0.4
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.4Latest
    record
    2024-07-17 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.3
    record
    2023-12-02 · diff ↗
  • 1.0.2
    record
    2023-09-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    record
    2020-02-24 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.0
    record
    2017-11-20
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-11-20
Total releases
5 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.3.0
Bundled data
7.2 KB / 6 files
Download size
246 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bang")
Northrop, P. J., & Hall, B. D. (2024). bang: Bayesian Analysis, No Gibbs (Version 1.0.4) [Computer software]. https://doi.org/10.32614/CRAN.package.bang

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 bang version 1.0.4 [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