Seemingly a very simple thing to do but it took me >30min without finding answer.
How do I reverse the order of colors? By looking at documentation for scale_brewer, i figured it can be formatter= argument being suspicious. I passed 'rev' and then rev, but they have no effect (no error message, just ignored).
I think you probably want to select the colors using
brewer.paldirectly and then usescale_colour_manual:Then you can
revthe order of the colors there.As of version 2.0,0 of ggplot there is now a more direct way to do this, see the answer by @pbaylis below.