# NOT RUN {
library(sp)
data("nuts2006")
# Create a link layer of the twin cities agreements
twincities.spdf <- getLinkLayer(x = nuts2.spdf, df = twincities.df[,1:2])
# Plot the links - Twin cities agreements between regions
plot(nuts0.spdf, col = "grey60",border = "grey20")
propLinkLayer(x = twincities.spdf, df = twincities.df[twincities.df$fij>=5,],
maxlwd = 10,
legend.pos = "topright",
var = "fij",
col = "#92000090", add = TRUE)
# }
Run the code above in your browser using DataLab