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:
However if I try with my table, it doesn't works:
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?