Using scale_colour_manual() , can I select specific colors from RColorBrewer to use as color values?
For example, in:
scale_colour_manual(breaks=c("A","B","C","D","E"), values=c("green","orange","blue","pink","yellow"))
I would like to use the first color from the scale_colour_brewer(type = "qual", palette = 7) palette scale_colour_brewer(type = "qual", palette = 7) instead of "green", then the fourth color from the scale_colour_brewer(type = "qual", palette = 2) palette scale_colour_brewer(type = "qual", palette = 2) instead of "orange", etc.
source share