Learn R Programming

gluvarpro (version 7.0)

plotboxmgvp: box plot of multiple glucose variability measures

Description

Function for create box plots of given data points arranging multiple grobs on a draw, plotting the inter-quartile range in a blue box with the median value as a horizontal line and the mean value as a red point.

Usage

plotboxmgvp(x, 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.

var

Character value with variable for plotting. Permitted values are auc, bgi, mage, and pstr. Default value is auc.

Author

Sergio Contador.

Examples

Run this code
data("datagvp1")
x <- aucgvp(datagvp1)
plotboxmgvp(x)

Run the code above in your browser using DataLab