Hi all, I would like to use R in order to generate a Heatmap/Choropleth overlaid on the UK map. Can someone please help with finding the right package/code? Any help is much appreciated. Best, Reza [[alternative HTML version deleted]]
Check out the maps package for a choropleth map. Specifically the map()
function (and its argument col=).
?map
Check out the image() function for a heat map which can be overlaid.
?image
Jean
Reza Salimi-Khorshidi wrote on 08/25/2011 09:00:04 AM:>
> Hi all,
> I would like to use R in order to generate a Heatmap/Choropleth overlaid
on> the UK map. Can someone please help with finding the right package/code?
Any> help is much appreciated.
> Best, Reza
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
You can use spplot from sp. Some examples: http://blog.revolutionanalytics.com/2009/10/geographic-maps-in-r.html http://ryouready.wordpress.com/2009/11/16/infomaps-using-r-visualizing-german-unemployment-rates-by-color-on-a-map/ http://news.mrdwab.com/2010/05/16/choropleth-party-with-r/ Best, Oscar. ------------------- Oscar Perpi??n Lamigueiro Dpto. Ingenier?a El?ctrica EUITI-UPM http://procomun.wordpress.com ----------------------------------------->Hi all, >I would like to use R in order to generate a Heatmap/Choropleth >overlaid on the UK map. Can someone please help with finding the right >package/code? Any help is much appreciated. >Best, Reza > > [[alternative HTML version deleted]]