View source: R/mplot3_confbin.R
mplot3_confbin | R Documentation |
Plots an extended confusion matrix using mplot3_img
mplot3_confbin(
object,
main = NULL,
xlab = "True",
ylab = "Estimated",
mod.name = NULL,
mar = c(4, 5, 4, 3),
dim.lab = 1,
dim.in = 4,
dim.out = 2,
font.in = 2,
font.out = 2,
cex.in = 1.2,
cex.lab = 1.2,
cex.lab2 = 1,
cex.out = 1,
col.text.out = "white",
col.bg.out = "gray50",
theme = "light",
mid.color = NULL,
hi.color.pos = "#18A3AC",
hi.color.neg = "#716FB2",
par.reset = TRUE,
pdf.width = 8.7,
pdf.height = 8.7,
filename = NULL,
...
)
object |
Either 1. a classification |
main |
Character: Plot title |
xlab |
Character: x-axis label |
ylab |
Character: y-axis label |
mod.name |
Character: Name of the algorithm used to make predictions. If NULL, will look for
|
mar |
Numeric, vector, length 4: Overall margins |
dim.lab |
Float: Height for labels |
dim.in |
Float: Width and height for confusion matrix cells |
dim.out |
Float: Height for metrics cells |
font.in |
Integer: The |
font.out |
Integer: The |
cex.in |
Float: The |
cex.lab |
Float: The |
cex.lab2 |
Float: The |
cex.out |
Float: The |
col.text.out |
Color for metrics cells' text |
col.bg.out |
Color for metrics cells' background |
theme |
Character: "light", or "dark" |
mid.color |
Color: The mid color for the confusion matrix. Default = "white" for theme = "light", "black" for "dark" |
hi.color.pos |
Color: The hi color for correct classification. |
hi.color.neg |
Color: The hi color for missclassification |
par.reset |
Logical: If TRUE, reset par before exit. Default = TRUE |
pdf.width |
Float: PDF width, if |
pdf.height |
Float: PDF height, if |
filename |
Character: If specified, save plot to this path. Default = NULL |
... |
Not used |
List of metrics, invisibly
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.