Description Usage Arguments Details Examples
Plots as heatmap and with useful cosmetics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | gg_CV(
x,
prop = TRUE,
percent = TRUE,
drop_zeros = TRUE,
text = TRUE,
text_colour = "white",
text_size = 8,
text_signif = 2,
axis_size = 10,
axis_x_angle = 0
)
## Default S3 method:
gg_CV(
x,
prop = TRUE,
percent = TRUE,
drop_zeros = TRUE,
text = TRUE,
text_colour = "white",
text_size = 8,
text_signif = 2,
axis_size = 10,
axis_x_angle = 0
)
## S3 method for class 'stat_lda_full'
gg_CV(
x,
prop = TRUE,
percent = TRUE,
drop_zeros = TRUE,
text = TRUE,
text_colour = "white",
text_size = 8,
text_signif = 2,
axis_size = 10,
axis_x_angle = 0
)
## S3 method for class 'matrix'
gg_CV(
x,
prop = TRUE,
percent = TRUE,
drop_zeros = TRUE,
text = TRUE,
text_colour = "white",
text_size = 8,
text_signif = 2,
axis_size = 10,
axis_x_angle = 0
)
|
x |
confusion matrix or |
prop |
|
percent |
|
drop_zeros |
|
text |
|
text_colour |
|
text_size |
|
text_signif |
|
axis_size |
|
axis_x_angle |
|
when a matrix
is passed, it assumes that it is:
squared
rows are for actual classes
columns for predicted classes
class accuracies are calculated per actual classes, ie rowwise
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.