comoros | R Documentation |
Draw maps of Comoros Islands.
comoros(x = "country", pref = FALSE)
x |
Name of the data set to use. The default is |
pref |
Choose to map with prefecture area ("pref" = TRUE) or without prefecture area ("pref" = FALSE) |
comoros()
uses the sf package to plot by plotting the geometry rather than every column and leave the plot pref ready for overplotting with other data
The data set used is in sf
format
## Map Comoro Islands as one object without prefecture area comoros() ## Map Comoro Islands as one object with prefecture area comoros(x="country",pref=TRUE) ## Map Comoros Islands as 3 object (Grande Comore, Anjouan, Mohéli) without prefecture area. comoros(x="island",pref=FALSE) ## Map Comoros Islands as 3 object (Grande Comore, Anjouan, Mohéli) with prefecture area comoros(x="island",pref=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.