Area under curve is an average measure of glycemia that quantifies the average exposure to hypoglycemia and hyperglycemia events. The integral trapezoidal cumulative function is used to calculate the area. The area under a curve between two points can be found by doing a definite integral between the two points. To find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.
aucgvp(x, t = 24, tdown = 70, tup = 180)A data frame containing the lauc, hauc and auc values.
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].
Numeric value with interval for calculate measure. Permitted values are 4, 6, 8, 12 and 24 hours. Default value of 24 hours.
Numeric value with target range low. Default value of 70 [mg/dl].
Numeric value with target range high. Default value of 180 [mg/dl].
Sergio Contador.
Jean-Pierre Le Floch, Philippe Escuyer, Eric Baudin, Dominique Baudon, and Leon Perlemuter. Blood glucose area under the curve: Methodological aspects. Diabetes Care, 13(2):172–175, 1990.
data("datagvp1")
aucgvp(datagvp1)
Run the code above in your browser using DataLab