plotgvp {gluvarpro} | R Documentation |
plot glucose values and glucose variability measures
Description
Generic function for plotting given data points.
Usage
plotgvp(x, col = FALSE, var = "glucose")
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 or variability measure: glucose value [mg/dl] or glucose variability measure. |
col |
Logical value for plotting data points with different colours. If data-set contains more than one day, it can be selected different colors (TRUE) for each day of data or one color (FALSE). Default value is FALSE. |
var |
Character value with variable for plotting. Permitted values are glucose, adrr, lauc, hauc, auc, lbgi, hbgi, bgi, conga, cv, iqr, ji, li, ge, lmage, hmage, mage, mean, mv, sd, lpstr, hpstr, npstr and pstr. Default value is glucose. |
Author(s)
Sergio Contador.
Examples
data("datagvp1")
plotgvp(datagvp1)