Displaying 1 result from an estimated 1 matches for "countymapenv".
2005 Oct 13
0
Maps package, coloration
...ors seem good for some states/counties, but random for others.
It is almost as if the index has been scrambled, but I find that the
ordering is fine in the data.frame.
I am completely confused, any guidance as to what simple thing that I am
missing here. Any suggestions greatly appreciated.
data(countyMapEnv)
all.names <- map('county',namesonly=T)
all.names1 <- data.frame(mapm=all.names, col=NA,ordin=1:length
(all.names))
# created a dataframe, to be sure of the
# order, I include a variable 'ordin' to index later
# next I merge in the data to use for coloration
# the merge wo...