[R] tmap colour scale
    Freddy Eggleton 
    freddyeggleton at yahoo.co.uk
       
    Tue Dec  8 21:32:46 CET 2015
    
    
  
Hi,
I am trying to plot Conservative Vote % per borough for London using tmap however the legend colours boroughs with a high Conservative % as light blue and boroughs with a low % of conservative votes as dark blue. How do i reverse this scale so that areas with the most Conservative votes are darkest? 
my code is as follows;
tm_shape(lndbor) + tm_polygons("CON", style = "kmeans", palette = "-Blues", title = "Conservative Vote (%)")
Thanks,
 
    
    
More information about the R-help
mailing list