MGE: Compute Mean of Glycemic Excursions

Description Usage Arguments Value Examples

View source: R/MAGE.R

Description

This function computes the mean of glycemic excursions, glycemic excursions indicated by standard deviation, default = 1

Usage

1
MGE(df, sd = 1)

Arguments

df

Data frame read through readfile

sd

Standard deviation indicating glycemic excursion, default = 1

Value

A numeric value representing MAGE

Examples

1
2
3
mydatafile <- system.file("extdata", "my_data_file.csv", package = "cgmquantify")
mydata <- readfile(mydatafile)
MGE(mydata)

marhenriq/cgmquantify documentation built on Feb. 14, 2021, 7:41 a.m.