iqrgvp: inter-quartile range

View source: R/iqrgvp.R

iqrgvpR Documentation

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)

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.

Value

A data frame containing the iqr values.

Author(s)

Sergio Contador.

References

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

Examples

data("datagvp1")
iqrgvp(datagvp1)

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

Related to iqrgvp in gluvarpro...