Multiple Imputation Through 'XGBoost'
Overview
Multiple imputation using 'XGBoost', subsampling, and predictive mean matching as described in Deng and Lumley (2024) doi:10.1080/10618600.2023.2252501. The package supports various types of variables, offers flexible settings, and enables saving an imputation model to impute new data. Data processing and memory usage have been optimised to speed up the imputation process.
Changes
data_clean()now becomescheck_data(). This function performs preliminary sanity check before imputation. A few checks have been added.- Some arguments' names have changed in
show_var()function for compatibility with **vismi** package. - The dataset
nhanes3_newbornhas been replaced withnewborn, with variables renamed for clarity and to align with the **vismi** package. - Variable names in
nhanes3have been updated to maintain consistency withnewborn.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 4 earlier changesHide 4 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 14 (4 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 14%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 19
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
Commit identities over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/agnesdeng/mixgb on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing mixgb adds 60 packages (38 with compiled code, 50 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, lme4 4.3 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.2.3Latest
- 2.0.32025-12-07 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.5.32025-04-07 · diff ↗
- 1.5.22024-12-02 · diff ↗ ·
removed 8 exports
plot_1num1fac, plot_1num2fac, plot_2fac, plot_2num, plot_2num1fac, plot_bar, plot_box, plot_histadded 3 exports
%>%, default_params, default_params_cran - RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.22023-02-16 · diff ↗
- 0.1.02022-06-07
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-06-07
- Total releases
- 6 / 4 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.3.0
- Bundled data
- 27 KB / 2 files
- Download size
- 786 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("mixgb")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1080/10618600.2023.2252501.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.