plotboxgvp: box plot of glucose values and glucose variability measures

View source: R/plotboxgvp.R

plotboxgvpR Documentation

box plot of glucose values and glucose variability measures

Description

Generic function for create box plot of given data points, 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

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

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")
plotboxgvp(datagvp1)

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