[R] Mapping in R - in the common sense

Zsombor Cseres-Gergely uctpzcs at ucl.ac.uk
Wed Nov 7 11:56:05 CET 2001


Dear R people,

I am wondering how difficult it would be to produce graphs based on maps in R (like "a county is red
where x is high").  I reckon this requires the coordinates for the polygons that make up the 
map and also a mapping to a set of identifiers to assign colours, hatches, etc.
Would it be possible to pass R a vector graphics of the map and back out the polygon definitions from 
that (supposing that the map is drawn the same way, ie redundantly with full polygons)?  If yes, there 
could be a matrix with the identifiers and the polygon parameters....  If no, is there any other/better 
idea.  Has anyone tried this before?

Thanks,
Zsbombor
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list