symm_plot {rGV}R Documentation

Plot the symmetrized glucose values

Description

Plot the symmetrized glucose values

Usage

symm_plot(x, times, unit = "mg")

Arguments

x

vector of glucose readings

times

vector of corresponding times, in minutes

unit

"mg" if the units are mg/dL or "mmol" if the units are mmol/L. Null value is "mg".

Value

A plot of symmetrized glucose values over time. These symmetrized values are used in the calculation of BGI and ADRR.

Examples

symm_plot(x=c(rep(100, 10),rep(120, 10), 105, 85), times=seq(0, 1260, 60), unit='mg')

[Package rGV version 0.0.4 Index]