About 50 results
Open links in new tab
  1. Getting a map with points, using ggmap and ggplot2

    Feb 25, 2013 · I want a map with points (and other geom_* layers) on it. I get the map, but instead of the points all I get is a warning: Message d'avis : Removed 3 rows containing missing values …

  2. r - Heatmap plot by value using ggmap - Stack Overflow

    labs(x = "Longitude", y = "Latitude") + coord_map() It colours by value, but it doesn't have the look of the first. The square boxes are clunky and arbitrary. Adjusting the size of the box does not help. The …

  3. r - Adding geom_point to ggmap (ggplot2) - Stack Overflow

    gg <- gg + geom_map(data=ddf, map=wrld, aes(map_id=Country, fill=x1), color="white", size=0.25) I want to add geom_point to each one of these countries, and set the size of the geom equal to my x2 …

  4. r - Using ggmap map of the world - Stack Overflow

    Oct 14, 2014 · I am trying to obtain a simple raster map of the entire world, using the ggmap package / get_map functionality (see code below) in combination with ggplot2. The zoom levels only go …

  5. r - World map with ggmap - Stack Overflow

    I am using ggmap and wish to have a map of the world centered on Australia to which I can easily plot geocoded points. ggmap seems to be a lot easier to use compared to some of the other mapping pa...

  6. Layering a ggplot2 map onto ggmap satellite with bathymetry data

    gg <- gg + coord_map() + theme_classic() However, I get the error: Error: ggplot2 doesn't know how to deal with data of class ggmapraster when I try and run the fortify code. I have used this method …

  7. Add scalebar and north arrow in a ggmap without using ggsn

    Nov 7, 2023 · CY_map <- get_stadiamap(cy, zoom = 10, maptype = "stamen_terrain") %>% ggmap() which creates a "gg" "ggplot" object called CY_map (note: I have used get_stadiamap instead of …

  8. ggmap, ggimage... - Saving and loading maps in R - Stack Overflow

    Aug 25, 2015 · An ideal solution should minimize the amount of code between get_map() (or a related command) and using the saved map within ggmap() (or a related command). I know already that …

  9. r - ggmap package: making point sizes larger when scaled by a variable ...

    I'm using ggmap to plot incidence of sleeping sickness (HAT) in Malawi. I'm scaling point size by the number of cases, however the result is a map with tiny point sizes: Zooming in (by adjusting the

  10. Pacific-centric Robinson projection with ggplot in R

    Sep 15, 2015 · gg You can use gdalUtils for this as well, but it just calls the system binaries and you have to specify the clipping polygons with well known strings (so the system call is a few characters …