plotboxmgvp: box plot of multiple glucose variability measures

View source: R/plotboxmgvp.R

plotboxmgvpR Documentation

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(s)

Sergio Contador.

Examples

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

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