plotmgvp: plot multiple glucose variability measures

View source: R/plotmgvp.R

plotmgvpR Documentation

plot multiple glucose variability measures

Description

Function for plotting given data points arranging multiple grobs on a draw.

Usage

plotmgvp(x, col = FALSE, var = "auc")

Arguments

x

Data-set with data frame format containing five or six columns:

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

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

variability measure: 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 auc, bgi, mage, and pstr. Default value is auc.

Author(s)

Sergio Contador.

Examples

data("datagvp1")
x <- aucgvp(datagvp1)
plotmgvp(x)

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