Skip to contents

GitHub commit activityGitHub contributorsGitHub last commitGitHub pull requestsGitHub repo sizeGitHub language countProject Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version CRAN status

The mcradds R package is a complement to mcr package, contains common and solid functions for designing, analyzing and visualization in In Vitro Diagnostic trials. Most of the methods and algorithms refer to CLSI recommendations and NMPA guidelines.

The package provides a series of typical functionality, as shown below:

  • Estimation of sample size for trials, NMPA guideline.
  • Diagnostic accuracy with/without standard/golden reference, CLSI EP12-A2.
  • Regression analysis and plot in method comparison, CLSI EP09-A3.
  • Bland-Altman analysis and plot in method comparison, CLSI EP09-A3.
  • Outlier detection with 4E method from CLSI EP09-A2 and ESD from CLSI EP09-A3.
  • Evaluation of bias in medical decision level, CLSI EP09-A3.
  • Pearson and Spearman correlation adding hypothesis test and confidence interval.
  • Establishing of Reference Range/Interval, CLSI EP28-A3 and NMPA guideline.
  • Paired ROC/AUC test for superiority and non-inferiority trials, CLSI EP05-A3/EP15-A3.
  • Reproducibility analysis (reader precision) for immunohistochemical assays, CLSI I/LA28-A2 and NMPA guideline.
  • Evaluation of precision of quantitative measurements, CLSI EP05-A3.
  • Descriptive statistics summary.


mcradds is available on CRAN and you can install the latest released version with:


or you can install the development version directly from GitHub with:

if (!require("devtools")) {

See package vignettes browseVignettes(package = "mcradds") for usage of this package.