Create confusion matrix as gtable (deprecated)
aa_confusion_matrix_gtable.RdCreate confusion matrix as gt table
Usage
aa_confusion_matrix_gtable(
aalist,
type = "percent",
out_file = NULL,
title = NULL,
cellColorRange = NULL,
accuracyColorRange = c(0, 1),
decimals.cells = 2,
decimals.accuracy = 2,
scale.accuracy = 100,
classLabels = NULL,
removeX = FALSE,
zero.rm = TRUE,
colNumbering = FALSE
)Arguments
- aalist
output from aa_card or aa_stratified
- type
either "count", "proportion" or "percent" (default)
- out_file
html filename
- title
add title to table header
- cellColorRange
Min-max range for color stretch of table cells. If set to -1, the range is calculated from the data. If null (default) range is calculated by column
- accuracyColorRange
Min-max range for color stretch of accuracy cells
- decimals.cells
Number of decimal places for matrix body
- decimals.accuracy
Number of decimal places for accuracy stats
- scale.accuracy
Default 1, Set to 100 to obtain percent values
- classLabels
Vector of class labels to append to row names
- removeX
set TRUE to remove leading X in column names
- zero.rm
remove zeros (True/False)
- colNumbering
Set TRUE to replace column names with numbers