This code provides several different functions for cleaning and analyzing continuous glucose monitor data. Currently it works with 'Dexcom' (<https://www.dexcom.com>) or 'iPro 2' (<http://professional.medtronicdiabetes.com/ipro2-professional-cgm>) data. The makecsv() function can convert files to CSV if they have been saved as 'Excel' documents. The cleaniprodata() and cleandexcomdata() functions take a directory of CGM data files and clean them for analysis. Finally, 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).
Version: | 1.3 |
Depends: | R (≥ 3.4.0), gdata, zoo, pracma |
Published: | 2018-02-14 |
Author: | Tim Vigers [aut, cre] |
Maintainer: | Tim Vigers <tim.b.vigers at gmail.com> |
License: | CC0 |
NeedsCompilation: | no |
CRAN checks: | cgmanalysis results |
Reference manual: | cgmanalysis.pdf |
Package source: | cgmanalysis_1.3.tar.gz |
Windows binaries: | r-devel: cgmanalysis_1.3.zip, r-release: cgmanalysis_1.3.zip, r-oldrel: cgmanalysis_1.3.zip |
OS X binaries: | r-release: cgmanalysis_1.3.tgz, r-oldrel: cgmanalysis_1.3.tgz |
Please use the canonical form https://CRAN.R-project.org/package=cgmanalysis to link to this page.