Description Usage Arguments Value References Examples
referenceVals
and testVals
are assumed to contain
paired glucose values from a reference method and a test method,
respectively. The discrepancy between the two values is used to place the
pair into a Clarke error grid zone according to the criteria described
in the original paper by Clarke et. al. (see reference below).
1 | getClarkeZones(referenceVals, testVals)
|
referenceVals |
A vector of glucose values obtained via the reference method. |
testVals |
A vector of glucose values obtained via a non-reference
method (e.g. a new meter). The values in this vector are paired with those
in |
A character vector is returned, with each element being one of
"A"
, "B"
, "C"
, "D"
, or "E"
.
Clarke, W. L., D. Cox, L. A. Gonder-Frederick, W. Carter, and S. L. Pohl. "Evaluating Clinical Accuracy of Systems for Self-Monitoring of Blood Glucose." Diabetes Care 10, no. 5 (September 1, 1987): 622-28.
1 2 3 4 5 6 7 | zones <- getClarkeZones(glucose_data$ref, glucose_data$test)
# counts
table(zones)
# percentages
table(zones)/length(zones)*100
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.