Displaying 1 result from an estimated 1 matches for "patramp".
Did you mean:
param
2009 Apr 06
1
political maps world maps in R, wrld_simpl
...a .41
Mexico .63
...
I wish to plot geographical maps where every country is filled with a
color depending on his score.
Using maptools library and wrld_simpl I can easily perform the world
map. Here my code:
#########################################################
### plot the world map
patramp = colorRamp(c(rgb(0,0,.7),"red"))# my personal ramp color palette
library(maptools)
load(url("http://spatial.nhh.no/R/etc/TM_WORLD_BORDERS_SIMPL-0.2.RData"))
country2 = c("Albania", "Argentina", "Australia", "Austria", "Belgium&q...