[R] Maximum discrepancy palette

2011-12-12 Thread Etienne B. Racine
I'm looking for a palette that would maximize the discrepancy with neighbouring elements. I have a raster image of objects tagged with integers. I'd like to highlight the different objects by using a palette that would maximize this difference with neighbours as close numbers tend to be

Re: [R] Maximum discrepancy palette

2011-12-12 Thread Michael Sumner
Try the RColorBrewer package, with function ?brewer.pal You probably want a Qualitative palette, the details are in that function's help page. Cheers, Mike. On Tue, Dec 13, 2011 at 10:14 AM, Etienne B. Racine etienn...@gmail.com wrote: I'm looking for a palette that would maximize the