aucgvp | R Documentation |
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)
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 calculate measure. Permitted values are 4, 6, 8, 12 and 24 hours. Default value of 24 hours. |
tdown |
Numeric value with target range low. Default value of 70 [mg/dl]. |
tup |
Numeric value with target range high. Default value of 180 [mg/dl]. |
A data frame containing the lauc, hauc and auc values.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.