[R] Coloring Continents/Regions of World Map

From: ang <ang_at_hamiltonlane.com>
Date: Fri, 13 May 2011 11:44:25 -0700 (PDT)


Dear All,

This may be a silly question, but I have tried searching through a few of the existing threads already, and haven't found any information on this.

I am trying to color code entire continents/regions (Asia, North America, Africa, etc.) based on the number of relevant companies. The data would look like:

World Location	Companies
North America	4848
Western Europe	1972
East Asia	1373
Northern Europe	313
Southern Europe	276
Middle East	167
Pacific	209
Southern Asia	156
SouthEast Asia	141
Eastern Europe	100
South America	55
Southern Africa	65
Carribean	26
Northern Africa	42
Central Asia	8
Western Africa	17
Eastern Africa	6
Central Africa	1
Central America	1

And the names/regions definitely wouldn't match in R, but if I could aggregate this data on my end to at least plot the #s in each continent that would be great.

map('world', plot=FALSE)$names) gives a list of all the regions, but there are over 2000 of these regions, and I can't figure out a way to aggregate them.

Any help would be greatly appreciated.

Thanks,
Adrian

--
View this message in context: http://r.789695.n4.nabble.com/Coloring-Continents-Regions-of-World-Map-tp3520895p3520895.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Fri 13 May 2011 - 20:51:55 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 May 2011 - 21:00:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive