Learn R Programming

MIC (version 1.1.0)

table: Table

Description

Table

Usage

table(x, ...)

# S3 method for default table(x, ...)

# S3 method for mic_validation table( x, format = "flextable", fill_dilutions = TRUE, bold = TRUE, ea_color = NULL, gold_standard_name = "Gold Standard", test_name = "Test", ... )

Value

table or flextable object

Arguments

x

mic_validation S3 object

...

further arguments

format

simple or flextable

fill_dilutions

Fill dilutions that are not present in the data in order to match the y- and x- axes

bold

Bold cells where essential agreement is TRUE

ea_color

Background color for essential agreement cells

gold_standard_name

Name of the gold standard to display in output

test_name

Name of the test to display in output

Examples

Run this code
gold_standard <- c("<0.25", "8", "64", ">64")
test <- c("<0.25", "2", "16", "64")
val <- compare_mic(gold_standard, test)
table(val)

Run the code above in your browser using DataLab