get_confusion_plot: GET_CONFUSION_TBL

Description Usage Arguments Value Examples

Description

This function takes in two arrays and produces a heatmap of the confusion matrix. The heatmap squares include proportions depending on the align parameter of actual (align = 1) or predicted (align = 2)

Usage

1
get_confusion_plot(actual, predicted, align = 1)

Arguments

actual

an array

predicted

an array

Value

a heatmap of confusion!

Examples

1
get_confusion_plot(c(1,2,3,3,3,3,1,1,1,2,2,3,3), c(3,2,1,3,2,3,1,1,2,1,2,3,3))

colorlace/confuvision documentation built on May 24, 2019, 2:50 p.m.