data("nuts2006")
# Example 1
plot(nuts0.spdf)
dotDensityLayer(spdf = nuts0.spdf, df=nuts0.df,var="pop2008")
# Example 2
layoutLayer(title = "Population in Europe, 2008",
sources = "Eurostat, 2008",
scale = NULL,
frame = TRUE,
col = "black",
coltitle = "white",
bg = "#E6E6E6",
extent = nuts0.spdf)
plot(nuts1.spdf, col = "#B8704D50",border = "white", add=TRUE)
dotDensityLayer(spdf = nuts1.spdf, df=nuts1.df,var="pop2008",
type = "regular", pch=20, col = "brown",
n = 100000)
Run the code above in your browser using DataLab