Bayesian Distributed Lag Non-Linear Models (B-DLNM)
Overview
A Bayesian framework for estimating distributed lag linear and non-linear models. Model fitting is implemented using Integrated Nested Laplace Approximation (R package 'INLA'), together with prediction and visualization of exposure-lag-response associations. Additional functions allow estimation of optimal exposure values (e.g., minimum mortality temperature) and computation of attributable fractions and numbers. Models with 'crossbasis' or 'onebasis' terms are supported (R package 'dlnm').
- Solved bug when random effects are included in the formula, fixing crossbasis coefficient naming when
f()terms are present. - Fixed error in some examples.
- Added logo.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-12
- NOTE12 OK, 1 NOTE2026-08-08
- OK13 OK2026-08-05
Show 7 earlier changesHide 7 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-22
- ERROR12 OK, 1 ERROR2026-06-20
- OK13 OK2026-05-14
- NOTE12 OK, 1 NOTE2026-05-07
- OK12 OK2026-04-25
- NOTE5 OK, 2 NOTE2026-03-19
Documentation
The repository also keeps web-only articles.
- Help pages
- 8 (1 internal)
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 80%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 88%
- bdlnm HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/pasahe/bdlnm on 2026-10-21.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-08-05 · The repository has a site deploy workflow
pkgdown site last built 2026-08-05
Show all practicesHide 2 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.1.1Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.02026-03-18
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-03-18
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 3) OSI
- Additional repositories
- inla.r-inla-download.org
- Minimum R
- ≥ 4.4
- Bundled data
- 37 KB / 1 file
- Download size
- 365 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bdlnm")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.