essential_agreement: Essential agreement for MIC validation
Description
Essential agreement calculation for comparing two MIC vectors.
Usage
essential_agreement(x, y, coerce_mic = TRUE, mode = "categorical")
Value
logical vector
Arguments
x
AMR::mic or coercible
y
AMR::mic or coercible
coerce_mic
convert to AMR::mic
mode
Categorical or numeric
Details
Essential agreement is a central concept in the comparison of two sets of MIC
values. It is most often used when validating a new method against a gold
standard. This function reliably performs essential agreement in line with
ISO 20776-2:2021. The function can be used in two modes: categorical and
numeric. In categorical mode, the function will use traditional MIC
concentrations to determine the MIC (therefore it will use force_mic() to
convert both x and y to a clean MIC -- see ?force_mic()). In numeric mode,
the function will compare the ratio of the two MICs. In most cases,
categorical mode provides more reliable results. Values within +/- 2
dilutions are considered to be in essential agreement.
References
International Organization for Standardization. ISO 20776-2:2021
Available from: https://www.iso.org/standard/79377.html