0
$\begingroup$

If I use a sample table, like so:

ctable <- as.table(matrix(c(42, 6, 8, 28), nrow = 2, byrow = TRUE))

and plot with fourfoldplot(ctable), I see all fine:

enter image description here

However if I try with my table, it doesn't works:

enter image description here

Printing my table on terminal, the only difference is the label of the columns:

   pred
     1  2
  1 78  9
  2 37  6

Is there a way to plot with numeric labels? Or is there other error?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.