aa_confusion_matrix_flextable_dev
aa_confusion_matrix_flextable_dev.Rd
Create confusion matrix as flextable
Usage
aa_confusion_matrix_flextable_dev(
aalist,
type = "prop",
digits.cells = 3,
digits.totals = 2,
digits.stats = 3,
accuracy.multiplier = 1,
col.width = NULL,
diagonal = NULL,
area.percent = T,
removeX = F,
colNumbering = F,
classLabels = NULL,
fontsize = 10,
fontname = "Cambria",
firstUp = T,
height.header = NULL,
rotate.header = F,
zero.rm = T
)
Arguments
- aalist
output from aa_card or aa_stratified
- type
either "count", "proportion" or "percent" (default)
- digits.cells
number of digits
- digits.totals
number of digits for
- digits.stats
number of digits
- accuracy.multiplier
Detault 1, Set to 100 to obtain percent values
- col.width
col.width
- diagonal
formats diagonal cells as italic
- area.percent
True (default) if area proportion estimates are desired in percent
- removeX
set TRUE to remove leading X in column names
- colNumbering
Set TRUE to replace column names with numbers
- classLabels
Vector of class labels to append to row names
- fontsize
fontsize
- fontname
fontname
- firstUp
class names first capital letter
- height.header
height.header
- rotate.header
rotate.header (True/False)
- zero.rm
remove zeros (True/False)