I worked on a heat map of Germany using spplot, I had a form file from GADM German form file Level 1
http://biogeo.ucdavis.edu/data/gadm2.8/rds/DEU_adm1.rds
I can make a heat map, but I believe that the maps are erroneously constructed, for example, in my data, βBremenβ has a value of 0, but βSaxony-Anhaltβ βis displayed as white with 0 values, this is something with a display in the .rds file?
Here is my code
library(sp) library(latticeExtra)
Here is an example for a sample:
structure(list(ID_1 = c(7L, 4L, 5L, 14L, 12L, 15L, 11L, 13L, 2L, 3L, 16L, 6L, 10L, 9L, 8L, 1L), clicks = c(19L, 4L, 0L, 12L, 4L, 3L, 8L, 5L, 41L, 12L, 4L, 11L, 59L, 19L, 4L, 25L)), .Names = c("ID_1", "clicks"), class = "data.frame", row.names = c(NA, -16L))
The result is as follows: 