cgmanalysis: Clean and Analyze Continuous Glucose Monitor Data

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. This spreadsheet is compatible with REDCap data upload ("–1" is added to each subject ID automatically for double data entry). cgmreport() also iterates through a directory of cleaned data, and produces PDFs of individual and aggregate AGP plots.

Version: 2.0
Depends: R (≥ 3.5.0)
Imports: ggplot2, lubridate, pracma, zoo, pastecs, tools, gdata, readr
Published: 2018-08-23
Author: Tim Vigers [aut, cre]
Maintainer: Tim Vigers <tim.b.vigers at>
License: CC0
NeedsCompilation: no
CRAN checks: cgmanalysis results


Reference manual: cgmanalysis.pdf
Package source: cgmanalysis_2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: cgmanalysis_2.0.tgz, r-oldrel: cgmanalysis_1.3.tgz
Old sources: cgmanalysis archive


Please use the canonical form to link to this page.