Learn R Programming

gluvarpro (version 7.0)

iqrgvp: inter-quartile range

Description

Inter-quartile range is a measure of glycemic variability defined as the difference between 75th and 25th percentiles.

Usage

iqrgvp(x, t = 24)

Value

A data frame containing the iqr values.

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: glucose value of the observation.

t

Numeric value with interval for calculating the measurement. Permitted values are 4, 6, 8, 12 and 24 hours. Default value of 24 hours.

Author

Sergio Contador.

References

Tukey, J. W. (1977). Exploratory Data Analysis. Reading: Addison-Wesley.

Examples

Run this code
data("datagvp1")
iqrgvp(datagvp1)

Run the code above in your browser using DataLab