table: Table

View source: R/meta_data.R

tableR Documentation

Table

Description

Table

Usage

table(x, ...)

## Default S3 method:
table(x, ...)

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

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

Value

table or flextable object

Examples

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

MIC documentation built on April 12, 2025, 2:26 a.m.