I'm am having some trouble plotting my spatial data using ggplot2. The map looks fine when plotted using spplot, so I'm assuming that the tearing occurs at the fortify stage.
The code is as follows:
#install the packageslibrary(rgdal)library(mapproj)library(raster)library(rgeos)library(ggplot2)library(plyr)if (!require(gpclib)) install.packages("gpclib", type="source")gpclibPermit()setwd("C:/Users/My Documents")#read in laa to regional mapping#must aggregate to higher level regions as data is provided at this higher levellaa_region_mapping
The code is as follows:
#install the packageslibrary(rgdal)library(mapproj)library(raster)library(rgeos)library(ggplot2)library(plyr)if (!require(gpclib)) install.packages("gpclib", type="source")gpclibPermit()setwd("C:/Users/My Documents")#read in laa to regional mapping#must aggregate to higher level regions as data is provided at this higher levellaa_region_mapping