Displaying 1 result from an estimated 1 matches for "us009".
Did you mean:
s009
2011 Apr 03
0
Plotting data on a US County Map
...e = min(number) = 2, black = max(number) = 15). Can anyone help me
actually plotting the data on the map? This is how far I got. Thanks!
DF = data.frame(read.table(textConnection(" A CNTY_FIPS number
1 US001 2
2 US002 8
3 US003 3
4 US004 5
5 US005 6
6 US006 7
7 US007 9
8 US008 9
9 US009 10
10 US010 11
11 US011 13
12 US012 15"),head=TRUE,stringsAsFactors=FALSE))
library(maptools)
library(ggplot2)
library(gpclib)
gpclibPermit()
setwd("C:/Documents")
us_counties.shp <- readShapeSpatial("uscounties.shp")
us_counties.shp.p <- fortify.SpatialPol...