How do I control the fill color order in geom_bar? For example, considering the following plot:
library(ggplot2)
df2 <- data.frame(
x = c("A", "B", "C", "A", "B", "C"),
fill_col = c(TRUE, TRUE, TRUE, FALSE, FALSE, FALSE),
vals = c(100, 115, 120, 10, 15, 20)
)
ggplot(df2, aes(x, vals, fill = fill_col)) +
geom_bar(stat = "identity") +
coord_flip()

If I wanted the pink FALSE values to appear on the bottom (or left) of the plot, what changes to the ggplot call could I make?