tir {rGV}R Documentation

Calculate time in range (TIR)

Description

Calculate time in range (TIR)

Usage

tir(x, low = 70, high = 180)

Arguments

x

vector of glucose readings

low

lower bound of the range. Default is 70

high

upper bound of the range. Default is 180

Value

The numeric time in range value for a given dataset of glucose measurements and times.

Examples

tir(x=c(rep(100, 10), rep(120, 10), 105, 85), low=70, high=80)

[Package rGV version 0.0.4 Index]