POR {cgmquantify} | R Documentation |
Compute Percent of Time Outside Range
Description
This function computes the percent of time outside range (range in standard deviations from mean, default = 1).
Usage
POR(df, sd = 1, sr = 5)
Arguments
df |
Data frame read through readfile |
sd |
Standard deviation indicating glycemic excursion, default = 1 |
sr |
Sampling rate inverse in minutes of the CGM (default is Dexcom -> 5 minutes) |
Value
A numeric value representing POR
Examples
mydatafile <- system.file("extdata", "my_data_file.csv", package = "cgmquantify")
mydata <- readfile(mydatafile)
POR(mydata, sd = 1, sr = 5)
[Package cgmquantify version 0.1.0 Index]