Hi,

I'm trying to use the plotmap function from SpatialEpi to create a
chloropleth map.  I like the layout but the very pale grey for the lower
values on my map are difficult to see against a white background (default
colour scheme for the value levels on the map goes from white to black).  I
think the map would look better if I could change the colour scheme to
something with more contrast, but I can't see how to do this - adding a col
argument doesn't work:

>rw.colors <- colorRampPalette(c("white","blue"))
> plotmap(EJmap$I_2012, EJmap, col=rw.colors, location="topright")
Error in plotmap(EJmap$I_2012, EJmap, col = rw.colors, location =
"topright") :
  unused argument (col = rw.colors)

The only other map plotting option in SpatialEpi is mapvariable but it
seems that all that does is give one the option to add titles - the colour
scheme is still shades of grey and no option to change it.

Does any one know how to change the colour scheme?

Many thanks and best,
Amy

-- 
*Amy Mikhail*
*EUPHEM fellow (European Program for Public Health
Microbiology)*<http://www.ecdc.europa.eu/en/activities/training_activities/EUPHEM/Pages/index.aspx>
Microbiology Reference Services
*Public Health England <http://www.gov.uk/phe>*
61 Colindale Avenue
London NW9 5EQ
UK

Phone: +44 (0)208 32 *77295*
Mobile: +44 (0)781 4176107
Wmail: *Amy.Mikhail@phe.gov.uk*
Gmail: amy.mikhail@gmail.com

	[[alternative HTML version deleted]]

