time_on {rGV}R Documentation

Calculate amount of time that the CGM was active

Description

Calculate amount of time that the CGM was active

Usage

time_on(times, gap = 5)

Arguments

times

vector of corresponding times, in minutes

gap

typical gap between CGM measurements, in minutes. Default is 5

Value

The numeric amount of time that the CGM device was active in a given dataset.

Examples

time_on(times=seq(0, 1260, 60), gap=5)

[Package rGV version 0.0.4 Index]