Other packages > Find by keyword >

cgmanalysis  

Clean and Analyze Continuous Glucose Monitor Data
View on CRAN: Click here


Download and install cgmanalysis package within the R console
Install from CRAN:
install.packages("cgmanalysis")

Install from Github:
library("remotes")
install_github("cran/cgmanalysis")

Install by package version:
library("remotes")
install_version("cgmanalysis", "3.1.1")



Attach the package and use:
library("cgmanalysis")
Maintained by
Tim Vigers
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-02-14
Latest Update: 2025-06-09
Description:
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 to download the new-user guide.
How to cite:
Tim Vigers (2018). cgmanalysis: Clean and Analyze Continuous Glucose Monitor Data. R package version 3.1.1, https://cran.r-project.org/web/packages/cgmanalysis. Accessed 04 Jun. 2026.
Previous versions and publish date:
1.3 (2018-02-14 19:58), 2.0 (2018-08-23 06:54), 2.1 (2018-12-17 19:00), 2.2 (2019-02-12 00:53), 2.3 (2019-03-26 16:03), 2.4 (2019-05-22 22:00), 2.5 (2019-10-24 18:00), 2.6.1 (2020-03-12 21:50), 2.6 (2020-02-19 10:10), 2.7.1 (2021-02-15 19:20), 2.7.2 (2021-06-09 06:20), 2.7.3 (2022-07-07 12:50), 2.7.4 (2022-09-08 00:23), 2.7.5 (2022-09-30 23:10), 2.7.6 (2022-10-24 18:55), 2.7.7 (2023-10-20 23:20), 2.7 (2020-04-30 07:00), 3.0.1 (2025-02-01 15:10), 3.0.2 (2025-02-03 20:30), 3.0 (2025-01-30 17:00), 3.1.0 (2025-04-07 22:10), 3.1.1 (2025-06-09 21:30)
Other packages that cited cgmanalysis R package
View cgmanalysis citation profile
Other R packages that cgmanalysis depends, imports, suggests or enhances
Complete documentation for cgmanalysis
Functions, R codes and Examples using the cgmanalysis R package
Some associated functions: cgmreport . cgmvariables . cleandata . 
Some associated R codes: cgmreport.R . cgmvariables.R . cleandata.R .  Full cgmanalysis package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA