I would like to create a two-sided chart where the "target" variable is on the x axe,"birds" and "wolfs" are on the left-hand side of the y axe, each with its own proportions.
df<- read.table(text = "target birds wolfs
1 0.3 0.5
0 0.9 0.2 ",header = TRUE)
I tried to follow the code in this link to suit my goal but with no success. How can I overcome this problem?