Learn R Programming

cgmquantify (version 0.1.0)

J_index: Compute J-index

Description

This function computes J-index, a glycemic variability metrix

Usage

J_index(df)

Arguments

df

Data frame read through readfile

Value

A numeric value representing J-index

Examples

Run this code
# NOT RUN {
mydatafile <- system.file("extdata", "my_data_file.csv", package = "cgmquantify")
mydata <- readfile(mydatafile)
J_index(mydata)
# }

Run the code above in your browser using DataLab