I am trying to plot lat/long using PlotOnStaticMap function from the RgoogleMaps library in R.
library(RgoogleMaps);library(plotrix);
mydata <- read.csv(file=name,header=T,sep=",")
map1 <- PlotOnStaticMap(lat = mydata1$latitude, lon = mydata1$longitude, zoom=1, cex=1, pch=1, col="green", FUN=points, add=F, size = c(640,640))
and then I am trying to create a facet using other field that has two values "Yes/No"
map1 + facet_grid(section_status ~.)
I understand the function "facet_grid" is from plotrix library. However, is there any way to combine the two, or create a facet of Maps?