Displaying 2 results from an estimated 2 matches for "popnam".
Did you mean:
poonam
2012 Jun 28
2
R help, using R to build choropleth
...lation 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)))
nz$land_distr
mapnames = nz$land_distr
mapnamesnew=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...
2012 Sep 07
0
Error when using s.multinom() of the ade4 package - %PCA and MCOA
...uot;,"-13.687684","-3.784146","-2.484898","-13.687684","-13.710157","-3.761157","-13.664695","-3.113497","-1.098616","-13.710157","-13.710157","-13.687684","-3.806619"))
popnames<-c("Altevogt 14160","IRAN GP. IX","T?rkischer
Unkrautroggen","R778","R1008","Pico Gentario","Centeio
Branco","Belorusskaja","Carokurz","Florida Black","Halo","Karel.
Landsorte&quo...