Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ggmap quickstart The appearance of these maps may be very different depending on zoom/scale
For more functionality, see ggmap documentation and If you cant get the
https://dl.dropboxusercontent.com/u/24648660/ggmap%20u
stamen: watercolor stamen: toner stamen: terrain
map you want by
seR%202012.pdf adjusting the
There are 2 basic steps to making a map using ggmap: location/zoom
variables, the
Part 1: Download Part 2: Plot raster functions designed
map raster and overlay data for the different map
Part 1: Downloading the map raster sources provide more
Start by loading the package: library(ggmap) options:
get_googlemap,
1. Define location: 3 ways get_openstreetmap,
- location/address get_stamenmap,
myLocation <- "University of Washington get_cloudmademap
- lat/long
myLocation <- c(lon = -95.3632715, lat = 29.7632836) google: terrain google: satellite google: roadmap google: hybrid
- bounding box lowerleftlon, lowerleftlat, upperrightlon, upperrightlat
(a little glitchy for google maps)
myLocation <- c(-130, 30, -105, 50)