How would I go about modifying the following code to keep the graph as is, but remove the item 'c' from the legend?
library(tidyverse) tibble(column = letters[1:3]) %>% ggplot(aes(column)) + geom_bar(aes(fill = column))
Created on 2020-02-13 by the reprex package (v0.3.0)
Part of the goal is to keep the aesthetic mapping:
scale_fill_manual() allows me to specify which items should appear in the legend, but at the same time seems to require that I specify the color values by hand.