Skip to content

hBayesDM

2.0.1Package record

Hierarchical Bayesian Modeling of Decision-Making Tasks

0packages depend
1.2Kdownloads / year
46.3%test coverage
13/13flavors OK

Overview

About

Fit an array of decision-making tasks with computational models in a hierarchical Bayesian framework. Can perform hierarchical Bayesian analysis of various computational models with a single line of coding (Ahn et al., 2017) doi:10.1162/CPSY_a_00002.

Changes in 2.0.1
  • Enable progress bar for MCMC

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-09-02
Advisories

none known

Documentation

In release 2.0.1
READMENoVignettesNoNEWSYes · 100% structured · mentions 2.0.1Citation fileYes · cites a publication
Help pages
84 (11 internal)includes a package overview page
Examples that run
0%69 never run
Exported functions with examples
92%
Documented parameters
100%
Return-value docs
96%
Help pages citing references
79%

Downloads

1.2K
CRAN downloads in the past year
Rank #7,900 · ~3/day · ~99/mo
Daily download trend is not available in this view yet.
56630 days
1.2K90 days
1.2K1 year
Compare downloads with other packages →
Also on386 r2u6 autocran

Repository

266Stars
121Forks
25Open issues
8Open PRs
23Releases
1,140Commits
22Commit identities
bayesiancomputationalmodelingreinforcement-learningdecision-makinghierarchical-bayesian-analysis
License file reads as GPL-3.0 · 1,140 commits · Last activity 2026-10-14 · +0.4% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
91%
Median days to close, 50 most recently updated closed issues
32
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-09-02 · 2642026-10-23 · 266
PracticesBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/ccs-lab/hbayesdm on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows

Governance and community (1)
Contributing guide
Docs source (2)

GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Lint, format, editor (1)
EditorConfig
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-05-04
    Commits: at least 4 crediting it in the message
Models named in its commits
  • Claude Opus 4.74 commits · May 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing hBayesDM adds 46 packages (25 with compiled code, 49 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (2)
R >= 4.4methods
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (7)
Author, Maintainer since 2.0.1 (2026)
Author
Contributor · added in 2.0.0
Contributor · added in 0.7.0
Contributor · added in 0.7.0
Contributor · added in 0.7.0

Previously maintained by CCS Lab (2.0.0) and Woo-Young Ahn (0.2.0 to 1.2.1).

Listed in earlier versions (1)
CCS Lab
no longer listed · 2.0.0
Releases (21)

Pick two releases to compare their code metrics.

  • 2.0.1Latest
    record
    2026-09-09 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-09-01
  • 2.0.0
    record
    2026-09-01 · diff ↗ ·
    removed 5 exports
    HDIofMCMC, plotDist, plotHDI, plotInd, printFit
    added 7 exports
    hdi, hgf_ibrb, hgf_ibrb_single, plot_dist, plot_hdi, plot_ind, print_fit
  • R
    R 4.6.0 released · 2026-04-24
  • archivedRemoved from CRAN
    2026-01-04
    issues were not addressed in time
  • 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
  • 1.2.1
    record
    2022-09-23 · diff ↗
  • 1.2.0
    record
    2022-09-10 · diff ↗ ·
    added 10 exports
    banditNarm_2par_lapse, banditNarm_4par, banditNarm_delta, banditNarm_kalman_filter, banditNarm_lapse, banditNarm_lapse_decay, banditNarm_singleA_lapse, pstRT_ddm, pstRT_rlddm1, pstRT_rlddm6
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.1
    record
    2021-05-03 · diff ↗ ·
    added 5 exports
    alt_delta, alt_gamma, bart_ewmv, pst_Q, task2AFC_sdt
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.2
    record
    2019-11-13 · diff ↗
  • 1.0.1
    record
    2019-09-01 · diff ↗
Show 19 earlier eventsHide 19 earlier events
  • 1.0.0
    record
    2019-08-30 · diff ↗ ·
    removed 3 exports
    choiceRT_lba, choiceRT_lba_single, hBayesDM_model
    added 1 export
    cgt_cm
  • R
    R 3.6.0 released · 2019-04-26
  • 0.7.2
    record
    2019-02-12 · diff ↗ ·
    added 3 exports
    bandit4arm_2par_lapse, bandit4arm_lapse_decay, bandit4arm_singleA_lapse
  • 0.7.1
    record
    2019-01-21 · diff ↗
  • 0.7.0
    record
    2018-12-13 · diff ↗ ·
    added 3 exports
    bandit4arm2_kalman_filter, dbdm_prob_weight, hBayesDM_model
  • 0.6.0
    record
    2018-09-11 · diff ↗ ·
    added 12 exports
    bart_par4, cra_exp, cra_linear, igt_orl, prl_fictitious_rp_woa, prl_fictitious_woa, pst_gainloss_Q, rdt_happiness, ts_par4, ts_par6, ts_par7, wcs_sql
  • R
    R 3.5.0 released · 2018-04-23
  • 0.5.0
    record
    2018-01-03 · diff ↗ ·
    added 2 exports
    peer_ocu, prl_fictitious_rp
  • 0.4.0
    record
    2017-05-23 · diff ↗ ·
    added 11 exports
    bandit4arm_4par, bandit4arm_lapse, choiceRT_ddm, choiceRT_ddm_single, choiceRT_lba, choiceRT_lba_single, dd_cs_single, dd_hyperbolic_single, estimate_mode, prl_fictitious_multipleB, prl_rp_multipleB
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3.0
    record
    2017-01-22 · diff ↗
  • 0.2.3.3
    record
    2016-12-28 · diff ↗ ·
    added 1 export
    rhat
  • 0.2.3.2
    record
    2016-12-21 · diff ↗
  • 0.2.3.1
    record
    2016-09-30 · diff ↗ ·
    added 1 export
    plotInd
  • 0.2.3
    record
    2016-07-17 · diff ↗ ·
    removed 1 export
    bandit2arm
    added 7 exports
    bandit2arm_delta, prl_ewa, prl_rp, ra_noLA, ra_noRA, ug_bayes, ug_delta
  • R
    R 3.3.0 released · 2016-05-03
  • 0.2.1
    record
    2016-04-03 · diff ↗
  • 0.2.0
    record
    2016-03-25
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-03-25
Total releases
21 / 10 yrs
License
GPL-3 OSI
Additional repositories
stan-dev.r-universe.dev
Minimum R
≥ 4.4
Download size
529 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("hBayesDM")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1162/cpsy_a_00002.

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

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