CGMissingDataR: 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 (MICE; Azur et al. (2011) <doi:10.1002/mpr.329>), Random Forest regression (Breiman (2001) <doi:10.1023/A:1010933404324>), k-nearest-neighbor regression (Zhang (2016) <doi:10.21037/atm.2016.03.37>), XGBoost (Chen and Guestrin (2016) <doi:10.1145/2939672.2939785>), LightGBM (Ke et al. (2017) <https://papers.nips.cc/paper/6907-lightgbm-a-highly-efficient-gradient-boosting-decision>), and ARIMA forecasting with the forecast framework (Hyndman and Khandakar (2008) <doi:10.18637/jss.v027.i03>). A Python-compatible backend uses 'reticulate' to call 'pandas', 'scikit-learn', 'statsmodels', Python 'xgboost', and optional Python 'lightgbm'.

Version: 0.0.2
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-05-30
DOI: 10.32614/CRAN.package.CGMissingDataR
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/CGMmissingDataR/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://zhanglabuky.github.io/CGMmissingDataR/, https://github.com/ZhangLabUKY/CGMmissingDataR
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: CGMissingDataR results

Documentation:

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

Downloads:

Package source: CGMissingDataR_0.0.2.tar.gz
Windows binaries: r-devel: CGMissingDataR_0.0.1.zip, r-release: CGMissingDataR_0.0.1.zip, r-oldrel: CGMissingDataR_0.0.1.zip
macOS binaries: r-release (arm64): CGMissingDataR_0.0.2.tgz, r-oldrel (arm64): CGMissingDataR_0.0.2.tgz, r-release (x86_64): CGMissingDataR_0.0.2.tgz, r-oldrel (x86_64): CGMissingDataR_0.0.2.tgz
Old sources: CGMissingDataR archive

Linking:

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