Package ega. March 21, 2017

Similar documents
Package inctools. January 3, 2018

Package clust.bin.pair

Package pollen. October 7, 2018

Package nopaco. R topics documented: April 13, Type Package Title Non-Parametric Concordance Coefficient Version 1.0.

Package wally. May 25, Type Package

Package p3state.msm. R topics documented: February 20, 2015

Bern Harrison, B.A., Cheryl Leazenby, B.S., and Solveig Halldorsdottir, Ph.D.

Package seqcombo. R topics documented: March 10, 2019

Package Actigraphy. R topics documented: January 15, Type Package Title Actigraphy Data Analysis Version 1.3.

Package xseq. R topics documented: September 11, 2015

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based

Package appnn. R topics documented: July 12, 2015

Package preference. May 8, 2018

System accuracy evaluation of FORA Test N Go Blood Glucose Monitoring System versus YSI 2300 STAT Plus glucose analyzer following ISO 15197:2013

Package hei. August 17, 2017

Glucose Analytical Comparability Evaluation of the YSI 2300 STAT Plus and YSI 2900D Biochemistry Analyzers

FreeStyle Lite A Blood Glucose Meter That Requires No Coding

EVALUATION OF THE PERFORMANCE OF THE TRUETRACK BLOOD GLUCOSE MONITORING SYSTEM USING THE ISO 15197:2003 ACCURACY AND USER EVALUATION REQUIREMENTS

System accuracy evaluation of FORA Test N Go Blood Glucose Monitoring System versus YSI 2300 STAT Plus glucose analyzer following ISO 15197:2013

Package AbsFilterGSEA

Package sbpiper. April 20, 2018

NICO /14 Nipro Diagnostics, Inc.

Equivalent Accuracy Evaluation of FORA Premium V10 Blood Glucose Monitoring System as Compared to Fora V30 Blood Glucose Monitoring System

Clinical Accuracy and User Performance of the TRUE METRIX AIR Blood Glucose Monitoring System

Package ICCbin. November 14, 2017

Package memapp. R topics documented: June 2, Version 2.10 Date

Package ClusteredMutations

Package ExactCIdiff. February 15, 2013

Package medicalrisk. August 29, 2016

Evaluation of Accuracy and User Performance of the TRUE METRIX Blood Glucose Monitoring System

Package prognosticroc

Package mdsdt. March 12, 2016

Package HAP.ROR. R topics documented: February 19, 2015

Package citccmst. February 19, 2015

Evaluation of Accuracy and User Performance of the TRUE METRIX Self-Monitoring Blood Glucose System

Package RNAsmc. December 11, 2018

Package ordibreadth. R topics documented: December 4, Type Package Title Ordinated Diet Breadth Version 1.0 Date Author James Fordyce

Package MethPed. September 1, 2018

Clinical Performance of the TRUE2go Blood Glucose Monitoring System Exceeds Minimum Criteria for Accuracy Using ISO 15197:2013

Package PELVIS. R topics documented: December 18, Type Package

Smart & Simple Mobile Solutions.

A New Consensus Error Grid to Evaluate the Clinical Significance of Inaccuracies in the Measurement of Blood Glucose

Package tumgr. February 4, 2016

GD50. Simple. Accurate. Reliable. Test Simply. Live Better. All FORA Diamond Series Blood Glucose Monitoring Systems use FORA Diamond Test Strips.

Point-of-Care Blood Glucose Meter Accuracy in the Hospital Setting

Performance Evaluations of Continuous Glucose Monitoring Systems: Precision Absolute Relative Deviation Is Part of the Assessment

Package mediation. September 18, 2009

Package cancer. July 10, 2018

Package msgbsr. January 17, 2019

Computing the Surveillance Error Grid Analysis: Procedure and Examples

Package QualInt. February 19, 2015

Package longroc. November 20, 2017

Package CTT. February 4, 2018

Package GANPAdata. February 19, 2015

Package ORIClust. February 19, 2015

Package TFEA.ChIP. R topics documented: January 28, 2018

Comparison of the Numerical and Clinical Accuracy of Four Continuous Glucose Monitors

Package propoverlap. R topics documented: February 20, Type Package

Package speff2trial. February 20, 2015

Package singlecase. April 19, 2009

ggplot Iain Hume 10 November 2015

White Paper, Evaluation of WaveSense JAZZ Blood Glucose Monitoring System Analytical Performance to EN ISO 15197:2015 Standard

Ultra Blue. Test Strips UNISTRIP. Charlotte, NC V2-10/25/2018 TECHNOLOGIES,LLC

Package ncar. July 20, 2018

Package DeconRNASeq. November 19, 2017

Package SAMURAI. February 19, 2015

Package rvtdt. February 20, rvtdt... 1 rvtdt.example... 3 rvtdts... 3 TrendWeights Index 6. population control weighted rare-varaints TDT

Clinical Evaluation for. Embrace No Code Blood Glucose Monitoring System

Package CompareTests

Package inote. June 8, 2017

White Rose Research Online URL for this paper: Version: Supplemental Material

Package xmeta. August 16, 2017

Package pepdat. R topics documented: March 7, 2015

Enter the Tidyverse BIO5312 FALL2017 STEPHANIE J. SPIELMAN, PHD

ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models

Package flowtype. R topics documented: July 18, Type Package. Title Phenotyping Flow Cytometry Assays. Version

Binary Diagnostic Tests Paired Samples

QPM Lab 9: Contingency Tables and Bivariate Displays in R

Package cssam. February 19, 2015

The rmeta Package February 17, 2001

Package BCRA. April 25, 2018

A New, Wireless-enabled Blood Glucose Monitoring System That Links to a Smart Mobile Device: Accuracy and User Performance Evaluation

GlucoMen LX PLUS blood glucose and blood ketone meter. Accuracy Evaluation to New ISO 15197:2013, with Technical and Specification Data

Report. Evaluation of system accuracy of the blood glucose monitoring system VivaChek Ino according to DIN EN ISO 15197: 2013

Package AIMS. June 29, 2018

Package biocancer. August 29, 2018

Package StepReg. November 3, 2017

Package TEQR. R topics documented: February 5, Version Date Title Target Equivalence Range Design Author M.

Package CorMut. January 21, 2019

Effects of Simulated Altitude on Blood Glucose Meter Performance: Implications for In-Flight Blood Glucose Monitoring

Package SEERaBomb. May 11, 2018

Blood Glucose Awareness Training (BGAT-2)

Package noia. February 20, 2015

Report Reference Guide. THERAPY MANAGEMENT SOFTWARE FOR DIABETES CareLink Report Reference Guide 1

Package Interpol. R topics documented: February 19, Type Package. Title Interpolation of amino acid sequences. Version

Package seqdesign. April 27, Version 1.1 Date

Anomaly Detection in the Artificial Pancreas

Journal: Nature Methods

Transcription:

Title Error Grid Analysis Version 2.0.0 Package ega March 21, 2017 Maintainer Daniel Schmolze <ega@schmolze.com> Functions for assigning Clarke or Parkes (Consensus) error grid zones to blood glucose values, and for plotting both types of error grids in both mg/ml and mmol/l units. Depends R (>= 2.14.0) Imports ggplot2, mgcv Suggests knitr License MIT + file LICENSE LazyData true VignetteBuilder knitr RoxygenNote 5.0.1 NeedsCompilation no Author Daniel Schmolze [aut, cre], Sergei Mihhailov [ctb] Repository CRAN Date/Publication 2017-03-21 06:50:34 UTC R topics documented: ega-package......................................... 2 getclarkezones....................................... 2 getparkeszones....................................... 3 glucose_data........................................ 4 plotclarkegrid....................................... 5 plotparkesgrid....................................... 6 Index 9 1

2 getclarkezones ega-package Clarke and Parkes (Consensus) error grid analysis Clarke and Parkes (Consensus) error grid analysis getclarkezones Assign Clarke error grid zones to paired glucose values referencevals and testvals are assumed to contain paired glucose values from a reference method and a test method, respectively. unit contains info on the unit of measurement. Two options exist: "gram" for mg/dl and "mol" for mmol/l with "gram" applied by default. 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). getclarkezones(referencevals, testvals, unit = "gram") Arguments referencevals testvals unit A vector of glucose values obtained via the reference method. 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 referencevals, so the length should be the same. A string specifying the units of measurement. This should be either "gram" (the default) for mg/dl or "mol" for mmol/l. Value A character vector is returned, with each element being one of "A", "B", "C", "D", or "E". References 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.

getparkeszones 3 Examples zones <- getclarkezones (glucose_data$ref / 18, glucose_data$test / 18, unit="mol") # counts table(zones) # percentages round (table (zones) / length (zones) * 100, digits=2) getparkeszones Assign Parkes (Consensus) error grid zones to paired glucose values 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, as well as the type of error grid desired (Type 1 or Type 2 diabetes), is used to place the pair into a Parkes (Consensus) error grid zone, according to the criteria described in the second reference below. unit contains info on the unit of measurement. Two options exist: "gram" for mg/dl and "mol" for mmol/l with "gram" applied by default. getparkeszones(referencevals, testvals, type = 1, unit = "gram") Arguments referencevals testvals A vector of glucose values obtained via the reference method. 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 referencevals, so the length should be the same. type An integer (1 or 2) specifying whether to obtain zones for Type 1 or Type 2 diabetes. Defaults to 1. unit A string specifying the units of measurement. This should be either "gram" (the default) for mg/dl or "mol" for mmol/l. Value A character vector is returned, with each element being one of "A", "B", "C", "D", or "E".

4 glucose_data References Parkes, J. L., S. L. Slatin, S. Pardo, and B.H. Ginsberg. "A New Consensus Error Grid to Evaluate the Clinical Significance of Inaccuracies in the Measurement of Blood Glucose." Diabetes Care 23, no. 8 (August 2000): 1143-48 Pfutzner, Andreas, David C. Klonoff, Scott Pardo, and Joan L. Parkes. "Technical Aspects of the Parkes Error Grid." Journal of Diabetes Science and Technology 7, no. 5 (September 2013): 1275-81 Examples zones <- getparkeszones(glucose_data$ref, glucose_data$test) # counts table(zones) # percentages round (table (zones) / length (zones) * 100, digits=2) glucose_data 5072 paired reference and test glucose values. A dataset containing 5072 paired reference method and test method glucose values (in mg/dl). glucose_data Format A data frame with 5072 rows and 2 variables: ref Reference method glucose value, in mg/dl test Test method glucose value, in mg/dl Source The data is from a modified clinical dataset.

plotclarkegrid 5 plotclarkegrid Plot a Clarke Error Grid The function uses ggplot to draw the Clarke error grid lines according to the criteria described in the original publication by Clarke et. al. (see reference below). If zones have not already been assigned via the zones parameter, the function getclarkezones is called first. The values in referencevals and testvals are then superimposed as a scatter plot. Some basic plot parameters can be specified as arguments, but the return value can also be stored and modified further before plotting (see examples and vignette). plotclarkegrid(referencevals, testvals, title = "Clarke Error Grid", xlab = "", ylab = "", linesize = 0.5, linetype = "solid", linecolor = "black", linealpha = 0.6, pointsize = 2, pointalpha = 1, zones = NA, unit = "gram") Arguments referencevals testvals title xlab ylab linesize linetype linecolor linealpha pointsize pointalpha zones unit A vector of glucose values obtained via the reference method. 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 referencevals, so the length should be the same. The main plot title. Defaults to "Clarke Error Grid". The x-axis label. Defaults to "Reference Glucose Concentration (mg/dl)". The y-axis label. Defaults to "Test Glucose Concentration (mg/dl)". The size to be used when drawing the zone lines. The acceptable values are the same as for geom_segment. The default is 0.5. The type of line to be used when drawing the zone lines. The acceptable values are the same as for geom_segment. The default is "solid". The color of the zone lines. The acceptable values are the same as for geom_segment. The default is "black". The alpha (transparency) level to be used when drawing the zone lines. The acceptable values are the same as for geom_segment. The default is 0.6. The size to be used when plotting the glucose data points. The acceptable values are the same as for geom_point. The default is 2. The alpha (transparency) level to be used when plotting the glucose data points. The acceptable values are the same as for geom_point. The default is 1. An optional character vector specifying the Clarke zones for each paired value. If this is not supplied, getclarkezones will be called to generate zone labels. A string specifying the units of measurement. This should be either "gram" (the default) for mg/dl or "mol" for mmol/l.

6 plotparkesgrid Value A ggplot object is returned. If the return value is not assigned, a plot is drawn. References 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. See Also getclarkezones ggplot Examples library(ggplot2) # default plotclarkegrid(glucose_data$ref, glucose_data$test) # with options plotclarkegrid(glucose_data$ref, glucose_data$test, pointsize=1.5, pointalpha=0.6, linetype="dashed") # store return value and modify ceg <- plotclarkegrid(glucose_data$ref, glucose_data$test) ceg + theme_gray() + theme(plot.title = element_text(size = rel(2), colour = "blue")) plotparkesgrid Plot a Parkes (Consensus) Error Grid The function uses ggplot to draw the Parkes (consensus) error grid lines according to the criteria described in the publications listed in the References section (see below). If zones have not already been assigned via the zones parameter, the function getparkeszones is called first. The values in referencevals and testvals are then superimposed as a scatter plot. Some basic plot parameters can be specified as arguments, but the return value can also be stored and modified further before plotting (see examples and vignette). plotparkesgrid(referencevals, testvals, type = 1, title = "", xlab = "", ylab = "", linesize = 0.5, linetype = "solid", linecolor = "black", linealpha = 0.6, pointsize = 2, pointalpha = 1, zones = NA, unit = "gram")

plotparkesgrid 7 Arguments Value referencevals testvals A vector of glucose values obtained via the reference method. 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 referencevals, so the length should be the same. type An integer (1 or 2) specifying whether to plot the grid for Type 1 or Type 2 diabetes. Defaults to 1. title xlab ylab linesize linetype linecolor linealpha pointsize pointalpha zones unit The main plot title. Defaults to "Parkes (Consensus) Error Grid for Type [type] Diabetes". The x-axis label. Defaults to "Reference Glucose Concentration (mg/dl)". The y-axis label. Defaults to "Test Glucose Concentration (mg/dl)". The size to be used when drawing the zone lines. The acceptable values are the same as for geom_segment. The default is 0.5. The type of line to be used when drawing the zone lines. The acceptable values are the same as for geom_segment. The default is "solid". The color of the zone lines. The acceptable values are the same as for geom_segment. The default is "black". The alpha (transparency) level to be used when drawing the zone lines. The acceptable values are the same as for geom_segment. The default is 0.6. The size to be used when plotting the glucose data points. The acceptable values are the same as for geom_point. The default is 2. The alpha (transparency) level to be used when plotting the glucose data points. The acceptable values are the same as for geom_point. The default is 1. An optional character vector specifying the Clarke zones for each paired value. If this is not supplied, getclarkezones will be called to generate zone labels. A string specifying the units of measurement. This should be either "gram" (the default) for mg/dl or "mol" for mmol/l. A ggplot object is returned. If the return value is not assigned, a plot is drawn. References Parkes, J. L., S. L. Slatin, S. Pardo, and B.H. Ginsberg. "A New Consensus Error Grid to Evaluate the Clinical Significance of Inaccuracies in the Measurement of Blood Glucose." Diabetes Care 23, no. 8 (August 2000): 1143-48 Pfutzner, Andreas, David C. Klonoff, Scott Pardo, and Joan L. Parkes. "Technical Aspects of the Parkes Error Grid." Journal of Diabetes Science and Technology 7, no. 5 (September 2013): 1275-81 See Also getparkeszones ggplot

8 plotparkesgrid Examples library(ggplot2) # default plotparkesgrid(glucose_data$ref, glucose_data$test) # with options plotparkesgrid(glucose_data$ref, glucose_data$test, pointsize=2, pointalpha=0.5, linesize=2, linealpha=0.3, linetype="dotdash") # store return value and modify peg <- plotparkesgrid(glucose_data$ref, glucose_data$test, type=2) peg + theme_gray() + theme(plot.title = element_text(size = rel(2), colour = "red"))

Index Topic datasets glucose_data, 4 ega-package, 2 geom_point, 5, 7 geom_segment, 5, 7 getclarkezones, 2, 5 7 getparkeszones, 3, 6, 7 ggplot, 5 7 glucose_data, 4 plotclarkegrid, 5 plotparkesgrid, 6 9