Displaying 1 result from an estimated 1 matches for "nrofunits".
2012 Jan 27
1
Overimposing one map in ssplot onto another
...can1,zcol="groups",col.regions="white",colorkey = FALSE,
lwd=.4, # col='white',
par.settings = list(axis.line = list(col='transparent')))
### C. Creating Map2- with borders between colored counties:
# Creating an (artificial) grouping of Canadian admin units:
nrofunits<-length(can2$NAME_2)
groups<-c(rep(1:6,(nrofunits %/%
6)),rep(1,5))[order(c(rep(1:6,(nrofunits %/% 6)),rep(1,5)))]
# adding values (grouping values) to "data":
can2 at data[["groups"]]<-groups
can2 at data$groups<-as.factor(can2 at data$groups)
classcolors <- rain...