Skip to content

Reference Based Multiple Imputation

2packages depend
6.1Kdownloads / year
86.6%test coverage
13/13flavors OK

Overview

About

Implements standard and reference based multiple imputation methods for continuous longitudinal endpoints (Gower-Page et al. (2022) doi:10.21105/joss.04251). In particular, this package supports deterministic conditional mean imputation and jackknifing as described in Wolbers et al. (2022) doi:10.1002/pst.2234, Bayesian multiple imputation as described in Carpenter et al. (2013) doi:10.1080/10543406.2013.834911, and bootstrapped maximum likelihood imputation as described in von Hippel and Bartlett (2021) doi:10.1214/20-STS793.

Changes in 1.7.0

New Features

  • pool() gains a rubin_df_method argument. The default "barnard-rubin" uses the Barnard-Rubin small-sample degrees-of-freedom adjustment, while "rubin" uses the original approximation from Rubin (1987). (#587)
  • ancova() now supports the analysis of two or more treatment groups. For more than two groups the ref / alt naming scheme is extended with alt2, alt3, etc. based on the factor levels of vars$group; the two-group output is unchanged (trt, lsm_ref, lsm_alt) for backwards compatibility. set_vars() gained a group_contrasts argument allowing users to specify a bespoke set of treatment-group contrasts for ancova(). By default a contrast of each non-reference group versus the reference group is estimated. Custom contrasts must be named (the name becomes the output parameter name) and may be given as pairwise c(minuend, subtrahend) character vectors or as general named numeric weight vectors over the group levels (e.g. c(Placebo = -1, A = 0.5, B = 0.5) for a pooled comparison); contrasts are evaluated in a contrast-coding-agnostic way. The data.frame produced by as.data.frame() / pool() now includes explicit estimate_type, group, group_level_1, group_level_2, contrast_label and visit columns when the analysis was performed with ancova(). The existing parameter column is retained for backwards compatibility. (#520)
Show all changes in 1.7.0Hide the rest of the changes in 1.7.0

Bug Fixes

  • ancova() now rejects interactions involving the treatment group in vars$covariates, avoiding treatment contrasts that depend on the reference values of interacting covariates. (#595)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.4 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-25
  • NOTE10 OK, 3 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.7.0
READMEYes · 218 wordsVignettesYes · 11 · dynamicNEWSYes · 67% structured · mentions 1.7.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
Help pages
161 (32 internal)includes a package overview page
Examples that run
36%10 run in a plain check · 18 never run
Exported functions with examples
68%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
7%

Downloads

6.1K
CRAN downloads in the past year
Rank #4,372 · ~17/day · ~511/mo
Daily download trend is not available in this view yet.
71730 days
1.9K90 days
6.1K1 year
Compare downloads with other packages →
Also on281 r2u7 autocran58 c2d4u

Repository

21Stars
12Forks
36Open issues
11Open PRs
19Releases
1,098Commits
16Commit identities
1,098 commits · Last activity 2026-10-15 · 0% stars, 30d · Discussions: 5 posts
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-06-28 · 202026-07-07 · 21
PracticesBeta

13 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/openpharma/rbmi on 2026-10-11.

Continuous integration (1)
GitHub Actions
Governance and community (2)
Contributing guideIssue templates
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-09-21

pkgdown site last built 2026-07-23, before release 1.7.0 (2026-10-15)

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (4)
lintrAirVS CodeRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)

Installing rbmi adds 43 packages (23 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 3.4.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
1indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (7)
Author, Maintainer since 1.6.0 (2026) · added in 1.6.0
Author · added in 1.3.1
Author · added in 1.4.0
Copyright holder, Funder · added in 1.3.0

Previously maintained by Craig Gower-Page (1.5.1 to 1.5.2) and Isaac Gravestock (1.4.1).

Listed in earlier versions (1)
Roche
no longer listed · 1.1.0 to 1.2.6
Releases (17)

Pick two releases to compare their code metrics.

  • 1.7.0Latest
    record
    2026-10-15 · current release · diff ↗
  • 1.6.1
    record
    2026-07-22 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2026-01-23
  • 1.6.0
    record
    2026-01-23 · diff ↗
  • archivedRemoved from CRAN
    2025-11-19
    issues were not corrected in time Still does not clean up in ~/.cache
  • 1.5.2
    record
    2025-10-28 · diff ↗
  • 1.5.1
    record
    2025-10-14 · diff ↗ ·
    added 4 exports
    jackknife_se, mcse, mcse_combine_all_pars, mcse_jackknife
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4.1
    record
    2025-03-03 · diff ↗
  • 1.4.0
    record
    2025-02-07 · diff ↗ ·
    added 1 export
    control_bayes
  • 1.3.1
    record
    2024-12-11 · diff ↗
  • 1.3.0
    record
    2024-10-16 · diff ↗ ·
    added 1 export
    make_rbmi_cluster
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.6
    record
    2023-11-24 · diff ↗
  • 1.2.5
    record
    2023-09-21 · diff ↗
Show 11 earlier eventsHide 11 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-11-14
  • 1.2.3
    record
    2022-11-14 · diff ↗
  • archivedRemoved from CRAN
    2022-11-09
    issues were not corrected in time
  • 1.2.1
    record
    2022-10-25 · diff ↗
  • 1.1.4
    record
    2022-05-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.3
    record
    2022-03-21 · diff ↗
  • 1.1.1
    record
    2022-03-08 · diff ↗
  • 1.1.0
    record
    2022-03-03
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-03
Total releases
17 / 4 yrs
License
Apache License (>= 2)
Minimum R
≥ 3.4.0
Bundled data
3.9 KB / 1 file
Download size
438 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rbmi")

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 rbmi version 1.7.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