Quick Bayesian Regression Models Using 'INLA' with 'brms' Syntax
Overview
Provides a 'brms'-like interface for fitting Bayesian regression models using 'INLA' (Integrated Nested Laplace Approximations) and 'TMB' (Template Model Builder). The package offers faster model fitting while maintaining familiar 'brms' syntax and output formats. Supports fixed and mixed effects models, multiple probability distributions, conditional effects plots, and posterior predictive checks with summary methods compatible with 'brms'. 'TMB' integration provides fast ordinal regression capabilities. Implements methods adapted from 'emmeans' for marginal means estimation and 'bayestestR' for Bayesian inference assessment. Methods are based on Rue et al. (2009) doi:10.1111/j.1467-9868.2008.00700.x, Kristensen et al. (2016) doi:10.18637/jss.v070.i05, Lenth (2016) doi:10.18637/jss.v069.i01, Bürkner (2017) doi:10.18637/jss.v080.i01, Makowski et al. (2019) doi:10.21105/joss.01541, and Kruschke (2014, ISBN:9780124058880).
- Improved example sections so that executable toy examples are run by default, with longer examples wrapped in
\\donttest{}and guarded byrequireNamespace("INLA", quietly = TRUE)where needed. - Added and clarified
@returndocumentation for all exported functions and methods (e.g.conditional_effects*,pp_check*,qbrmb*,summary.qbrmb_fit,summary.qbrms_fit), ensuring all Rd topics have\\value{}sections. - Removed all uses of
set.seed()inside functions; any seeding is now restricted to tests or examples. - Refactored and documented binomial mixed-effects helpers (
qbrmb,qbrmb_regularised,qbrmb_aggressive) and their associated print/summary methods for greater consistency. - Minor internal clean-up (removal of obsolete helpers and unexported Rd topics) to satisfy CRAN policies.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 279 (148 internal)includes a package overview page
- Examples that run
- 6%1 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran) · 14 never run
- Exported functions with examples
- 14%
- Documented parameters
- 98%
- Return-value docs
- 98%
- Help pages citing references
- 0%
Downloads
Repository
Releases over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/tony-myers/qbrms on 2026-10-11.
The R CMD check workflow runs on Linux
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 1.0.1Latest2025-12-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-12-10
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Additional repositories
- inla.r-inla-download.org
- Minimum R
- ≥ 4.0.0
- Download size
- 230 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("qbrms")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-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.