cvms
cvms copied to clipboard
Related to issue 35
Dear @LudvigOlsen , As of today, the following doesn't seem to be supported any more:
plot_confusion_matrix( conf_mat, font_row_percentages=font(prefix=c("NPV = ", "", "", "PPV = ")), font_col_percentages = font(prefix=c("Spec = ", "", "", "Sens = ")) )
The error messages are:
Error in element_text(size = size, color = color, face = face, family = family, : unused argument (prefix = c("NPV=", "", "", "PPV="))
Error in element_text(size = size, color = color, face = face, family = family, : unused argument (prefix = c("NPA=", "", "", "PPA="))
The error is related to ggplot2 version ggplot2_3.4.4. The code works in ggplot2_3.4.3.