Displaying 2 results from an estimated 2 matches for "seifalegendcol".
2011 Oct 13
3
US States percentage change plot
Hi, I would like to make a plot of the US states (or lower 48) that are
colored based upon a percentage change column. Ideally, it would gradually
be more blue the larger the positive change, and more red the more negative
is the change.
The data I have looks like:
State Percent.Change
1 Alabama 0.004040547
2 Alaska -0.000202211
3 Arizona -0.002524567
4 Arkansas
2012 Jun 28
2
R help, using R to build choropleth
Hi guys
i need some help to build choropleth.
Basically i am trying to colour regions on the map by population.
I possess the shape file of the country, and also the population data,
however, i am having trouble to create the plot, below is my code:
population=read.csv("nz2.csv")
population
names(population)
nz=readShapeSpatial((sprintf('nz-geodetic-marks',tmp_dir)))