This code provides several different functions for cleaning and analyzing continuous glucose monitor data. Currently it works with 'Dexcom', 'iPro 2', 'Diasend', 'Libre', or 'Carelink' data. The cleandata() function takes a directory of CGM data files and prepares them for analysis. cgmvariables() iterates through a directory of cleaned CGM data files and produces a single spreadsheet with data for each file in either rows or columns. The column format of this spreadsheet is compatible with REDCap data upload. cgmreport() also iterates through a directory of cleaned data, and produces PDFs of individual and aggregate AGP plots. Please visit <https://github.com/childhealthbiostatscore/R-Packages/> to download the new-user guide.
Version: | 3.0.2 |
Depends: | R (≥ 4.0.0) |
Imports: | ggplot2, parsedate, lubridate, pracma, zoo, pastecs, tools, readxl, readr, XML, MESS |
Published: | 2025-02-03 |
DOI: | 10.32614/CRAN.package.cgmanalysis |
Author: | Tim Vigers [aut, cre] |
Maintainer: | Tim Vigers <timothy.vigers at cuanschutz.edu> |
License: | CC0 |
NeedsCompilation: | no |
Citation: | cgmanalysis citation info |
CRAN checks: | cgmanalysis results |
Reference manual: | cgmanalysis.pdf |
Package source: | cgmanalysis_3.0.2.tar.gz |
Windows binaries: | r-devel: cgmanalysis_3.0.2.zip, r-release: cgmanalysis_3.0.2.zip, r-oldrel: cgmanalysis_3.0.2.zip |
macOS binaries: | r-devel (arm64): cgmanalysis_3.0.2.tgz, r-release (arm64): cgmanalysis_3.0.2.tgz, r-oldrel (arm64): cgmanalysis_3.0.2.tgz, r-devel (x86_64): cgmanalysis_3.0.2.tgz, r-release (x86_64): cgmanalysis_3.0.2.tgz, r-oldrel (x86_64): cgmanalysis_3.0.2.tgz |
Old sources: | cgmanalysis archive |
Please use the canonical form https://CRAN.R-project.org/package=cgmanalysis to link to this page.
mirror server hosted at Truenetwork, Russian Federation.