if (FALSE) {
if (requireNamespace("ggmap", quietly = TRUE) &&
require("ggplot2", quietly = TRUE)) {
# Load the Gorilla data
data(gorillas, package = "inlabru")
# Create a base map centred around the nests and plot the boundary as well
# as the nests
gmap(gorillas$nests, maptype = "satellite") +
gm(gorillas$boundary) +
gm(gorillas$nests, color = "white", size = 0.5)
}
}
Run the code above in your browser using DataLab