# =======================================================================
# State and county level maps, add locations by lat and long
# =======================================================================
# install.packages(c("ggplot2", "devtools", "dplyr", "stringr"))
# install.packages(c("maps", "mapdata"))
# devtools::install_github("dkahle/ggmap")
library(ggplot2)
library(ggmap)
library(maps)
library(mapdata)
# This puts all graphics automatically into a PDF file and not in the Plots window.
# pdf("MyMaps.pdf")
# Set working directory in R
setwd("c:/MyRdata/Mapping")
# This puts all graphics automatically into a PDF file and not in the Plots window.
pdf("BasicMap.pdf")
states