Skip to content

bdlim

0.5.0Package record

Bayesian Distributed Lag Interaction Models

0packages depend
2.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Estimation and interpretation of Bayesian distributed lag interaction models (BDLIMs). A BDLIM regresses a scalar outcome on repeated measures of exposure and allows for modification by a categorical variable under four specific patterns of modification. The main function is bdlim(). There are also summary and plotting files. Details on methodology are described in Wilson et al. (2017) doi:10.1093/biostatistics/kxx002.

Changes in 0.5.0

Minor updates to allow for summary and plot.summary functions to work with bdlim1 objects. Now the bdlim1 model can be run to fit a single modification pattern and the same summary and plot functions apply.

The function bdlim1 now works with a only one group. This fits a Bayesian distributed lag model without modification.

Add new function getw to extract the posterior sample of the weight function from a bdlim1 object.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.0
READMEYes · 157 wordsVignettesNoNEWSYes · 67% structured · mentions 0.5.0Citation fileYes · cites a publicationWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
15 (1 internal)includes a package overview page
Examples that run
17%1 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
50%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
7%

Downloads

2.6K
CRAN downloads in the past year
Rank #16,249 · ~7/day · ~214/mo
Daily download trend is not available in this view yet.
31130 days
75590 days
2.6K1 year
Compare downloads with other packages →
Also on98 r2u36 autocran

Repository

0Stars
1Forks
0Open issues
0Open PRs
2Releases
77Commits
2Commit identities
License file reads as GPL-3.0 · 77 commits · Last activity 2025-06-11
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
354
Median days to close, 50 most recently updated closed PRs
0

Forks over time

2024-06-07 · 12026-07-07 · 1
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/anderwilson/bdlim on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-06-11 · The repository has a site deploy workflow

pkgdown site last built 2025-06-11

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing bdlim adds 19 packages (8 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, LaplacesDemon 2.0 MB, isoband 1.5 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.4.1 (2024)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.0Latest
    record
    2025-06-11 · current release · diff ↗ ·
    added 1 export
    getw
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.2
    record
    2024-06-12 · diff ↗
  • 0.4.1
    record
    2024-05-22
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-05-22
Total releases
3 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
1.3 MB / 1 file
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bdlim")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 bdlim version 0.5.0 [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