Related Experiment Video
Updated: Jan 5, 2026

Simple Continuous Glucose Monitoring in Freely Moving Mice
Published on: February 24, 2023
cgmanalysis: An R package for descriptive analysis of continuous glucose monitor data
Tim Vigers1,2,3, Christine L Chan1, Janet Snell-Bergeon2
1Section of Pediatric Endocrinology, University of Colorado School of Medicine, Aurora, Colorado, United States of America.
Abstract:
Continuous glucose monitoring (CGM) is an essential part of diabetes care. Real-time CGM data are beneficial to patients for daily glucose management, and aggregate summary statistics of CGM measures are valuable to direct insulin dosing and as a tool for researchers in clinical trials. Yet, the various commercial systems still report CGM data in disparate, non-standard ways. Accordingly, there is a need for a standardized, free, open-source approach to CGM data management and analysis. A package titled cgmanalysis was developed in the free programming language R to provide a rapid, easy, and consistent methodology for CGM data management, summary measure calculation, and descriptive analysis. Variables calculated by our package compare well to those generated by various CGM software, and our functions provide a more comprehensive list of summary measures available to clinicians and researchers. Consistent handling of CGM data using our R package may facilitate collaboration between research groups and contribute to a better understanding of free-living glucose patterns.
Related Concept Videos
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Overview of Minitab
Analysis of Population Pharmacokinetic Data
Statistical Analysis: Overview
One of the most commonly used statistical quantifiers is the mean, which is the ratio between the sum of the numerical values of all results and the...
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares...

