comoros {comorosmaps} | R Documentation |
Comoro Islands
Description
Draw maps of Comoros Islands.
Usage
comoros(x = "country", pref = FALSE)
Arguments
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) |
Details
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
Value
The data set used is in sf
format
Examples
## 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)
[Package comorosmaps version 1.0.0 Index]