Bayes Factors for Informative Hypotheses
Overview
Computes approximated adjusted fractional Bayes factors for equality, inequality, and about equality constrained hypotheses. For a tutorial on this method, see Hoijtink, Mulder, van Lissa, & Gu, (2019) doi:10.1037/met0000201. For applications in structural equation modeling, see: Van Lissa, Gu, Mulder, Rosseel, Van Zundert, & Hoijtink, (2021) doi:10.1080/10705511.2020.1745644. For the statistical underpinnings, see Gu, Mulder, and Hoijtink (2018) doi:10.1111/bmsp.12110; Hoijtink, Gu, & Mulder, J. (2019) doi:10.1111/bmsp.12145; Hoijtink, Gu, Mulder, & Rosseel, (2019) doi:10.31234/osf.io/q6h5w.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-28
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 19 (9 internal)
- Examples that run
- 83%5 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 42%
- Introduction to bain HTML
Downloads
Repository
- PRs merged (all time)
- 69%
- Median days to close, 50 most recently updated closed issues
- 62
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
10 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/cjvanlissa/bain on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-14
Show all practicesHide 3 practices
Dependencies
Installing bain adds 5 packages (3 with compiled code, 1.8 MB of source tarballs). Heaviest: lavaan 1.6 MB, numDeriv 74 KB, mnormt 63 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.2.12Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.2.112024-06-12 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.102023-09-27 · diff ↗
- 0.2.9
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.82021-12-06 · diff ↗
- 0.2.72021-11-26 · diff ↗
- 0.2.62021-09-03 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.2.4
- 0.2.32019-12-04 · diff ↗
Package metadata
- First published
- 2019-02-07
- Total releases
- 12 / 7 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 833 KB / 5 files
- Download size
- 589 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bain")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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.