I want to create graph in R (see image Each horizontal column represents choice from two possibilities and number or proportion of such cases). I tried likert package, here is possibility working only with one categorical variable in one column, but i need two (count or proportional) variable in one column. Data which I'm trying are below. Each row is one column, plant 1 is on left, plant 2 is on right, Total are number of cases for displaying, Insect is general title for all. Could you recommend me somebody appropriate code or package?
+--------+---------+--------+--------------+--------------+
| Insect | Plant1 | Plant2 | Total plant1 | Total plant2 |
+--------+---------+--------+--------------+--------------+
| SF | Maize | Cotton | 38 | 12 |
| SF | Cabbage | Cotton | 40 | 10 |
| SF | Cabbage | Maize | 42 | 8 |
+--------+---------+--------+--------------+--------------+