Hello All,
I've just posted an update to the rworldmap package onto CRAN :

http://cran.r-project.org/web/packages/rworldmap

I'd appreciate any feedback or suggestions from the list.

The package aims to facilitate mapping global data - either by country or
gridded, and I've just added a few new functions to make it more generic &
flexible. It seems relevant to a couple of recent posts on the list. It can
also be applied to smaller areas, but to keep things simple doesn't do
projections and the internal maps are deliberately low resolution.

There is a vignette (without the new functions as yet), and I have submitted
a paper to the R-journal back in spring that I'm happy to send to anyone if
they'd like to see it.

The new functions are :
joinData2Map – to join a dataFrame to a map (spatialPolygonsDataFrame) by a
common ID field
mapPolys – to plot a spatialPolygonsDataFrame
mapBars – to put bar charts on a map
mapPies – to put pie charts on a map

these functions accept the same categorisation & colour parameters as
existing functions,
namely : catMethod, numCats and colourPalette.

The examples for joinData2Map and mapPolys show how to use them to plot
downloaded US state and county maps.

also I’ve added an ‘add’ parameter to most plotting functions to allow
layers to be added on top of each other.

The source code is available on the google code page at :
Source : http://code.google.com/p/rworld/source/checkout
I'll send a mail on another thread showing how it could be used in that
case.

Thanks & happy mapping,

Andy

	[[alternative HTML version deleted]]

