Skip to content

imputeCGM

0.0.3

Impute Missing Glucose Values in CGM Data

0packages depend
294downloads / year
32.5%test coverage
13/13checks pass

Overview

About
Maintained by Shubh SaraswatFirst published 2026-07-161 releasesCRAN page ↗GitHub ↗

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'.

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.13
32.5%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-17
    6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 763 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

294
CRAN downloads in the past year
Rank #24,363 · ~1/day · ~25/mo
Daily download trend is not available in this view yet.
19730 days
29490 days
2941 year
Compare downloads with other packages →
Also on4 r2u3 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
3Releases
25Commits
1Contributors
License GPL-2.0 · 25 commits · Last activity 2026-07-17

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/zhanglabuky/imputecgmr on 2026-08-23.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Maintainer, Author, Copyright holder
Authors (3)
Maintainer, Author, Copyright holder
Copyright holders (1)
Maintainer, Author, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • 0.0.3Latest
    2026-07-16 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-16
Total releases
1 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.3
Bundled data
7.9 KB / 2 files
Download size
83 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("imputeCGM")
Saraswat, S., Hasin Shahed Shad, & Zhang, X. D. (2026). imputeCGM: Impute Missing Glucose Values in CGM Data (Version 0.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.imputeCGM

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 imputeCGM version 0.0.3 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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