Skip to contents

Visualizes the confusion matrix using a fourfold plot.

Usage

# S3 method for class 'diag_test'
plot(x, col = c("#ffcccc", "#ccffcc"), main = "Confusion Matrix", ...)

Arguments

x

A diag_test object.

col

Vector of 2 colors for Negative and Positive outcomes.

main

Title of the plot.

...

Additional arguments passed to fourfoldplot.