Learn R Programming

CGManalyzer (version 1.3.1)

Continuous Glucose Monitoring Data Analyzer

Description

Contains all of the functions necessary for the complete analysis of a continuous glucose monitoring study and can be applied to data measured by various existing 'CGM' devices such as 'FreeStyle Libre', 'Glutalor', 'Dexcom' and 'Medtronic CGM'. It reads a series of data files, is able to convert various formats of time stamps, can deal with missing values, calculates both regular statistics and nonlinear statistics, and conducts group comparison. It also displays results in a concise format. Also contains two unique features new to 'CGM' analysis: one is the implementation of strictly standard mean difference and the class of effect size; the other is the development of a new type of plot called antenna plot. It corresponds to 'Zhang XD'(2018)'s article 'CGManalyzer: an R package for analyzing continuous glucose monitoring studies'.

Copy Link

Version

Install

install.packages('CGManalyzer')

Monthly Downloads

214

Version

1.3.1

License

MIT + file LICENSE

Maintainer

Xinzheng Dong

Last Published

July 11th, 2023

Functions in CGManalyzer (1.3.1)

MSEbyC.fn

call a C function to calculate multiscale entropy
CONGA.fn

Function to calculate the continuous overlapping net glycemic action (CONGA)
fixMissing.fn

Function to fix missing values in a vector
equalInterval.fn

Function to derive the data with equal interval
antennaPlot.fn

draw an antenna plot
summaryCGM.fn

Function to calculate the summary statistics for each subject or sensor: number of subjects or sensors, minimum, 1st quartile, median, mean, 2nd quartile, maximum, standard deviation, MAD
plotTseries.fn

function to plot time series data
pairwiseComparison.fn

function to calculate mean difference and its confidence interval, SSMD, p-value of t.test for pairwise comparison
timeSeqConversion.fn

function to convert a matrix (with columns for year, month, day, minute and/or second) to a time sequence in a unit of minute or second
setSPEC.fn

Load settings for the selected SPEC parameter.
ssmdEffect.fn

function to derive the type of effect size based on SSMD values
CGManalyzer-package

tools:::Rd_package_title("CGManalyzer")
boxplotCGM.fn

Draw a boxplot for continuous glucose monitoring data sensor by sensor
MODD.fn

Function to calculate the mean of daily differences (MODD)
MSEplot.fn

Plot the mean and standard error or standard deviation of multiscale entropy by group
fac2char.fn

function to convert a factor to a vector