imputeCGM: Impute Missing Glucose Values in CGM Data

Imputes missing glucose values in repeated-measures continuous glucose monitoring (CGM) data. Workflows create time-series features from raw timestamps, support model selection, and return the user's original columns plus an imputed glucose column. Methods include multiple imputation by chained equations using 'mice' (Azur et al. (2011) <doi:10.1002/mpr.329>), Random Forest regression using 'ranger' (Breiman (2001) <doi:10.1023/A:1010933404324>), k-nearest-neighbor regression using 'FNN' (Zhang (2016) <doi:10.21037/atm.2016.03.37>), 'XGBoost' using 'xgboost' (Chen and Guestrin (2016) <doi:10.1145/2939672.2939785>), 'LightGBM' using 'lightgbm' (Ke et al. (2017) <https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision>), and ARIMA forecasting using 'forecast' (Hyndman and Khandakar (2008) <doi:10.18637/jss.v027.i03>). A 'Python'-compatible backend uses 'reticulate' to call 'pandas', 'scikit-learn', 'statsmodels', 'xgboost', and optional 'lightgbm'.

Version: 0.0.3
Depends: R (≥ 4.3)
Imports: mice, FNN, ranger, data.table, xgboost, lightgbm, forecast, CGManalyzer, lifecycle, reticulate, shiny
Suggests: testthat (≥ 3.0.0), spelling, knitr, rmarkdown
Published: 2026-07-16
DOI: 10.32614/CRAN.package.imputeCGM (may not be active yet)
Author: Shubh Saraswat ORCID iD [cre, aut, cph], Hasin Shahed Shad [aut], Xiaohua Douglas Zhang ORCID iD [aut]
Maintainer: Shubh Saraswat <shubh.saraswat00 at gmail.com>
BugReports: https://github.com/ZhangLabUKY/imputeCGMR/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://zhanglabuky.github.io/imputeCGMR/, https://github.com/ZhangLabUKY/imputeCGMR
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: imputeCGM results

Documentation:

Reference manual: imputeCGM.html , imputeCGM.pdf
Vignettes: How To Use imputeCGM (source, R code)
Using the imputeCGM Shiny App (source, R code)

Downloads:

Package source: imputeCGM_0.0.3.tar.gz
Windows binaries: r-devel: imputeCGM_0.0.3.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): imputeCGM_0.0.3.tgz, r-oldrel (arm64): imputeCGM_0.0.3.tgz, r-release (x86_64): imputeCGM_0.0.3.tgz, r-oldrel (x86_64): imputeCGM_0.0.3.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=imputeCGM to link to this page.