Displaying 1 result from an estimated 1 matches for "gcs_nzgd_2000".
2012 Jun 28
2
R help, using R to build choropleth
...new=as.character(mapnames)
popnames =as.character(mapnamesnew)
pop =population$People
pop2=as.numeric(pop)
popdich = ifelse(pop2 < 100000, "red", "blue")
popnames.lower = tolower(popnames)
cols=popdich[match(mapnames,popnames.lower)]
plot(nz,fill=TRUE,col=cols,proj="GCS_NZGD_2000")
thanks in advance for any assistance
Kind regards
Iverson
--
View this message in context: http://r.789695.n4.nabble.com/R-help-using-R-to-build-choropleth-tp4634686.html
Sent from the R help mailing list archive at Nabble.com.