PolyaGamma Sampling
Overview
Tools for sampling from the PolyaGamma distribution based on Polson, Scott, and Windle (2013) doi:10.1080/01621459.2013.829001. Useful for logistic regression.
- Added a C-callable Polya-Gamma RNG API (thank you Andrew Finley)
- Added unit tests and cleaned up a bunch of stuff
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-26
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/jwindle/bayeslogit on 2026-10-11.
Dependencies
Installing BayesLogit adds no packages beyond those that come with R.
Show all 14 packagesHide all 14 packages
Code & Tests
People & History
Previously maintained by James Joseph Balamuta (0.6.1) and Jesse Windle (0.1-0 to 0.6).
Pick two releases to compare their code metrics.
- 2.4Latest
- RR 4.6.0 released · 2026-04-24
- 2.32026-03-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 2.12019-09-26 · diff ↗ ·
removed 13 exports
logit, logit.EM, mlogit, rks, logit.combine, mlogit.combine, rpg.alt, draw.indicators, draw.indicators.C, draw.indicators.R, compute.mixture, compute.mixture.lg, compute.mixture.l3added 2 exports
rpg.gamma.R, rpg.devroye.R - unarchivedReturned to CRAN2019-09-25
- 0.6.12019-09-25 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- archivedRemoved from CRAN2018-01-27the maintainer was unresponsive and several entry points used by .C calls are missing
- RR 3.4.0 released · 2017-04-21
Show 13 earlier eventsHide 13 earlier events
- 0.6
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.5.12014-07-21 · diff ↗
- 0.42014-04-25 · diff ↗
- 0.32014-04-23 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.2-42013-11-12 · diff ↗
- 0.2-2
- RR 3.0.0 released · 2013-04-03
- 0.2-02013-03-01 · diff ↗ ·
added 12 exports
logit, logit.EM, mlogit, rpg.gamma, rpg.devroye, rks, logit.combine, rpg, draw.indicators, draw.indicators.C, draw.indicators.R, compute.mixture - 0.1-02012-05-06
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-05-06
- Total releases
- 12 / 14 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.6.0
- Download size
- 43 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("BayesLogit")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1080/01621459.2013.829001.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.