magegvp: mean amplitude of glycemic excursions

magegvpR Documentation

mean amplitude of glycemic excursions

Description

Mean amplitude of glycemic excursions is a measure of glycemic variability that calculates changes in blood glucose that exceed multiples of the standard deviation, and that are in hypoglycemic and hyperglycemic values. It is based on the number of glycemic excursions, using glucose values that are above or below the limits of hypoglycemia and hyperglycemia.

Usage

magegvp(x, t = 24, n = 1, type = "auto")

Arguments

x

Data-set with data frame format containing three columns:

date: date of the observation with format yyyy/mm/dd.

time: time of the observation with 24 hour format hh:mm:ss.

glucose: glucose value of the observation in [mg/dl].

t

Numeric value with interval for calculating the measurement. Permitted values are 4, 6, 8, 12 and 24 hours. Default value of 24 hours.

n

Numeric value with number of multiple values of standard deviation. Default value of 1.

type

Character value with type of mage calculation. Permitted values are auto, nardin2peak and peak2nardin. Default value is auto.

Value

A data frame containing the number of glycemic excursions ge and mage values.

Author(s)

Sergio Contador.

References

F. John Service, George D. Molnar, John W. Rosevear, Eugene Ackerman, Leal C. Gatewood, William F. Taylor. Mean Amplitude of Glycemic Excursions, a Measure of Diabetic Instability. Diabetes. Vol 9, N 19, 1970.

Examples

data("datagvp1")
magegvp(datagvp1)

gluvarpro documentation built on Oct. 1, 2022, 5:05 p.m.

Related to magegvp in gluvarpro...