pstrgvp: percentage spent below/above the target range

View source: R/pstrgvp.R

pstrgvpR Documentation

percentage spent below/above the target range

Description

Percentage spent below/above the target range is an average measure of glycemia that calculates the percentage of average time that the patient is in hypoglycemic and hyperglycemic ranges. This measure calculates the time-in-range measure (npstr) but does not give more weight to extremely low values (lpstr) nor to high values (hpstr). Arbitrary target range may not be optimal, so the ranges must to be chosen careful.

Usage

pstrgvp(x, t = 24, tdown = 70, tup = 180)

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 in [mg/dl].

t

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

tdown

Numeric value with target range low. Default value of 70 [mg/dl].

tup

Numeric value with target range high. Default value of 180 [mg/dl].

Value

A data frame containing the lpstr, hpstr, npstr and pstr values.

Author(s)

Sergio Contador.

References

Gabor Marics, Zsofia Lendvai, Csaba Lodi, Levente Koncz, David Zakarias, Gyorgy Schuster, Borbala Mikos, Csaba Hermann, Attila J. Szabo, and Peter Toth-Heyn. Evaluation of an open access software for calculating glucose variability parameters of a continuous glucose monitoring system applied at pediatric intensive care unit. BioMedical Engineering OnLine, 14(1):37, Apr 2015.

Examples

data("datagvp1")
pstrgvp(datagvp1)

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

Related to pstrgvp in gluvarpro...