I am using this code for Ecuador
library(rnaturalearth)
install.packages("rnaturalearthhires", repos = "http://packages.ropensci.org", type = "source")
library(rnaturalearthhires)
ecuador<-ne_states(country = "ecuador", returnclass = "sf")
ggplot(data = ecuador)+geom_sf()
I get this graph:
I really don't need the longitude and latitude, but I would like to get Galapagos Islands Closer.
So far I tried to change the longitude from almost -90 to -82, but that isn't working.
What can I do?
Thanks in advance.
EDIT: I got the code from here and just adapt it to my needs: How to obtain maps with regions and subregions