# Interpreting Glucose Data from Continuous Glucose Monitors

## Documentation for package ‘iglu’ version 4.2.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

above_percent | Calculate percentage of values above target thresholds
active_percent | Calculate percentage of time CGM was active
adrr | Calculate average daily risk range (ADRR)
agp | Display Ambulatory Glucose Profile (AGP) statistics for selected subject
agp_metrics | Calculate metrics for the Ambulatory Glucose Profile (AGP)
all_metrics | Calculate all metrics in iglu
auc | Calculate Area Under Curve AUC
below_percent | Calculate percentage below targeted values
calculate_sleep_wake | Calculate metrics for values inside and/or outside a specified time range.
CGMS2DayByDay | Interpolate glucose value on an equally spaced grid from day to day
cogi | Calculate Continuous Glucose Monitoring Index (COGI) values
conga | Continuous Overall Net Glycemic Action (CONGA)
cv_glu | Calculate Coefficient of Variation (CV) of glucose levels
cv_measures | Calculate Coefficient of Variation subtypes
ea1c | Calculate eA1C
epicalc_profile | Display Episode Calculation statistics for selected subject
episode_calculation | Calculates Hypo/Hyperglycemic episodes with summary statistics
example_data_1_subject | Example CGM data for one subject with Type II diabetes
example_data_5_subject | Example CGM data for 5 subjects with Type II diabetes
example_data_hall | Example data from Hall et al. (2018)
example_meals_hall | Example mealtimes data from Hall et al. (2018)
gmi | Calculate GMI
grade | Calculate mean GRADE score
grade_eugly | Percentage of GRADE score attributable to target range
grade_hyper | Percentage of GRADE score attributable to hyperglycemia
grade_hypo | Percentage of GRADE score attributable to hypoglycemia
gri | Calculate Glycemia Risk Index (GRI)
gvp | Calculate Glucose Variability Percentage (GVP)
hbgi | Calculate High Blood Glucose Index (HBGI)
hist_roc | Plot histogram of Rate of Change values (ROC)
hyper_index | Calculate Hyperglycemia Index
hypo_index | Calculate Hypoglycemia Index
igc | Calculate Index of Glycemic Control
iglu_shiny | Run IGLU Shiny App
in_range_percent | Calculate percentage in targeted value ranges
iqr_glu | Calculate glucose level iqr
j_index | Calculate J-index
lbgi | Calculate Low Blood Glucose Index (LBGI)
mad_glu | Calculate Median Absolute Deviation (MAD)
mag | Calculate the Mean Absolute Glucose (MAG)
mage | Calculate Mean Amplitude of Glycemic Excursions
mage_ma_single | Calculates Mean Amplitude of Glycemic Excursions (see "mage")
meal_metrics | Calculate Meal Metrics
mean_glu | Calculate mean glucose level
median_glu | Calculate median glucose level
metrics_heatmap | Create a heatmap of metric values by subject based on hierarchical clustering order
modd | Calculate mean difference between glucose values obtained at the same time of day (MODD)
m_value | Calculate the M-value
optimized_iglu_functions | Optimized Calculations of Time Dependent iglu Metrics
pgs | Calculate Personal Glycemic State (PGS)
plot_agp | Plot Ambulatory Glucose Profile (AGP) modal day
plot_daily | Plot daily glucose profiles
plot_glu | Plot time series and lasagna plots of glucose measurements
plot_lasagna | Lasagna plot of glucose values for multiple subjects
plot_lasagna_1subject | Lasagna plot of glucose values for 1 subject aligned across times of day
plot_meals | Plot meal metrics visualization
plot_ranges | Plot Time in Ranges as a bar plot
plot_roc | Plot time series of glucose colored by rate of change
process_data | Data Pre-Processor
quantile_glu | Calculate glucose level quantiles
range_glu | Calculate glucose level range
read_raw_data | Read raw data from a variety of common sensors.
roc | Calculate the Rate of Change at each time point (ROC)
sd_glu | Calculate sd glucose level
sd_measures | Calculate SD subtypes
sd_roc | Calculate the standard deviation of the rate of change
summary_glu | Calculate summary glucose level