powered by
This function computes the time inside range (range in standard deviations from mean, default = 1).
TIR(df, sd = 1, sr = 5)
Data frame read through readfile
Standard deviation indicating glycemic excursions, default = 1
Sampling rate inverse in minutes of the CGM (default is the Dexcom -> 5 minutes)
A numeric value representing TIR
# NOT RUN { mydatafile <- system.file("extdata", "my_data_file.csv", package = "cgmquantify") mydata <- readfile(mydatafile) TIR(mydata, sd = 1, sr = 5) # }
Run the code above in your browser using DataLab