Skip to content
Prev 163635 / 398506 Next

Help with maps

On Wed, 03 Dec 2008, Avram Aelony wrote:
Don't restrict your output to only x and y then.  Have a look at:
map("county", plot=FALSE)$names

Here each row corresponds to the polygon (county) represented by the corresponding set of 
x and y values in d (up to the next NA).
Again:
map('world', regions="uk")$names
shows you all the islands that are also associated with the UK.

The easiest way would be:
map('world', regions="UK", xlim=c(-10, 5), ylim=c(48, 60))

then use map.axes() to refine this.

HTH
Ray Brownrigg
MSCS, Victoria University of Wellington