Created
November 5, 2014 17:29
-
-
Save Rekyt/b8d4fe9de8884c81e44f to your computer and use it in GitHub Desktop.
ggmap basic use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggmap) | |
sites = unique(df.table[, list(LON, LAT, interpreted.location, site.number)]) | |
france = get_map("France", zoom = 6) | |
franceMap = ggmap(france) | |
franceMap + | |
geom_point(data = sites, aes(x = LON, y = LAT, color = as.factor(site.number)), size = 4) + | |
labs(x = "Longitude", y = "Latitude") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment