Confusion matrix
confusion_matrix.Rd
This function will generate a confusion matrix between two factors; pred (short for prediction) and gt (short for ground truth). One may optionally supply a named vector of colors to annotate the row and column legends.