data(nuts2006)
# Get units borders
nuts0.contig.spdf <- getBorders(nuts0.spdf)
# Plot Countries
plot(nuts0.spdf, border = NA, col = "grey60")
# Plot borders
plot(nuts0.contig.spdf,
col = sample(x = rainbow(nrow(nuts0.contig.spdf))),
lwd = 3, add = TRUE)
Run the code above in your browser using DataLab