| glucose_methods | R Documentation |
Synthetic dataset comparing glucose measurements from two analytical methods: a reference hexokinase-based laboratory analyzer and a point-of-care (POC) glucose meter. The data mimics realistic patterns observed in clinical laboratory method validation studies.
glucose_methods
A data frame with 60 observations and 3 variables:
Character. Unique sample identifier.
Numeric. Glucose concentration (mg/dL) measured by the reference hexokinase method.
Numeric. Glucose concentration (mg/dL) measured by the point-of-care glucose meter.
This synthetic dataset was designed to illustrate common patterns in glucose method comparisons:
Concentration range: 50-350 mg/dL, covering hypoglycemia through severe hyperglycemia
Bias pattern: The POC meter shows a small positive bias (~3-5 mg/dL) with slight proportional error at higher concentrations
Precision: Reference method CV ~2.5%, POC meter CV ~4.5%
The data is suitable for demonstrating Bland-Altman analysis, Passing-Bablok regression, and other method comparison techniques.
Synthetic data generated to mimic realistic clinical patterns. See
data-raw/make_datasets.R for the generation script.
ba_analysis(), creatinine_serum, troponin_cardiac
# Bland-Altman analysis
ba <- ba_analysis(reference ~ poc_meter, data = glucose_methods)
summary(ba)
plot(ba)
# Check for proportional bias
plot(ba, title = "POC Glucose Meter vs Reference")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.