Data: Zipped ea.ml1 shapefile can be found here, and the country outline can be downloaded here at the GADM site. I've been using the Ethiopia ESRI shapefile. Branch locations are here.
I have a country shapefile with differently symbolized levels in it (identified as ML1 attributes [expressed as values 1-3] in my code, originally from ea.ml1 object; ultimately ends up as eth.clip.prj). On top of these different ML1 values, I have plotted different branch office locations (branches; reprojected and clipped as branch.clip.prj). The code and map output are below:
library(rgdal)library(rgeos)library(raster)library(sp)library(grDevices)library(scales)setwd("D:/Mapping-R/Ethiopia")#read in ML and Ethiopia shapefilesea.ml1
I have a country shapefile with differently symbolized levels in it (identified as ML1 attributes [expressed as values 1-3] in my code, originally from ea.ml1 object; ultimately ends up as eth.clip.prj). On top of these different ML1 values, I have plotted different branch office locations (branches; reprojected and clipped as branch.clip.prj). The code and map output are below:
library(rgdal)library(rgeos)library(raster)library(sp)library(grDevices)library(scales)setwd("D:/Mapping-R/Ethiopia")#read in ML and Ethiopia shapefilesea.ml1