bias | R Documentation |
Calculate the bias between two AMR::mic vectors. The bias is calculated as the percentage of test MICs that are above the gold standard MICs minus the percentage of test MICs that are below the gold standard MICs.
bias(gold_standard, test)
gold_standard |
AMR::mic vector |
test |
AMR::mic vector |
numeric value
International Organization for Standardization. ISO 20776-2:2021 Available from: https://www.iso.org/standard/79377.html
gold_standard <- c("<0.25", "8", "64", ">64")
test <- c("<0.25", "2", "16", "64")
bias(gold_standard, test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.