This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(sp) | |
library(RColorBrewer) | |
# get spatial data for Germany on county level | |
con <- url("http://gadm.org/data/rda/DEU_adm3.RData") | |
print(load(con)) | |
close(con) | |
# plot Germany with random colors | |
col = rainbow(length(levels(gadm$NAME_3))) |
NewerOlder