Skip to content

BayesLogit

2.4Package record

PolyaGamma Sampling

13packages dependsuggested by 1
29.5Kdownloads / year
64.5%test coverage
13/13flavors OK

Overview

About

Tools for sampling from the PolyaGamma distribution based on Polson, Scott, and Windle (2013) doi:10.1080/01621459.2013.829001. Useful for logistic regression.

Changes in 2.4
  • 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

CRAN checks
13OK
Slowest check: 4.4 min · r-release-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-26
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.4
READMEYes · 58 wordsVignettesNoNEWSYes · 100% structured · mentions 2.4Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

29.5K
CRAN downloads in the past year
Rank #2,882 · ~81/day · ~2.5K/mo
Daily download trend is not available in this view yet.
1.9K30 days
4.9K90 days
29.5K1 year
Compare downloads with other packages →
Also on635 r2u38 autocran2.9K conda_forge123 c2d4u

Repository

18Stars
8Forks
4Open issues
0Open PRs
0Releases
105Commits
6Commit identities
License file reads as GPL-3.0 · 105 commits · Last activity 2026-06-05 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-06-10 · 172026-07-07 · 18
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing BayesLogit adds no packages beyond those that come with R.

Depends (1)
R >= 3.6.0
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
13direct
0indirect
Imports 13 · LinkingTo 1
Suggested by 1
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (6)
Author, Maintainer since 2.1 (2019), Copyright holder
Author, Copyright holder · added in 0.2-0
Author, Copyright holder
Contributor · added in 2.1
Contributor · added in 2.4
Contributor · added in 2.1

Previously maintained by James Joseph Balamuta (0.6.1) and Jesse Windle (0.1-0 to 0.6).

Listed in earlier versions (2)
Nicolas Polson
no longer listed · 0.1-0
no longer listed · 0.6.1
Releases (12)

Pick two releases to compare their code metrics.

  • 2.4Latest
    record
    2026-06-06 · current release · diff ↗ ·
    added 4 exports
    rpg.sp.R, pg.m1, pg.m2, pg.var
  • R
    R 4.6.0 released · 2026-04-24
  • 2.3
    record
    2026-03-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 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
  • 2.1
    record
    2019-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.l3
    added 2 exports
    rpg.gamma.R, rpg.devroye.R
  • unarchivedReturned to CRAN
    2019-09-25
  • 0.6.1
    record
    2019-09-25 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • archivedRemoved from CRAN
    2018-01-27
    the maintainer was unresponsive and several entry points used by .C calls are missing
  • R
    R 3.4.0 released · 2017-04-21
Show 13 earlier eventsHide 13 earlier events
  • 0.6
    record
    2016-10-20 · diff ↗ ·
    added 1 export
    mlogit.combine
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.5.1
    record
    2014-07-21 · diff ↗
  • 0.4
    record
    2014-04-25 · diff ↗
  • 0.3
    record
    2014-04-23 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.2-4
    record
    2013-11-12 · diff ↗
  • 0.2-2
    record
    2013-05-07 · diff ↗ ·
    added 4 exports
    rpg.alt, rpg.sp, compute.mixture.lg, compute.mixture.l3
  • R
    R 3.0.0 released · 2013-04-03
  • 0.2-0
    record
    2013-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-0
    record
    2012-05-06
  • R
    R 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.

APA

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

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.

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