CountryBorders {IsoriX} | R Documentation |
Borders of world CountryBorders
Description
This dataset contains a polygon polygon SpatVector (from terra). It can be used to draw the borders of world countries.
Format
A SpatVector object
Source
This SpatVector is derived from the package rnaturalearth. Please refer to this other package for description and sources of this dataset. See example for details on how we created the dataset.
See Also
-
OceanMask for another polygon used to embellish the plots
Examples
plot(CountryBorders, border = "red", col = "darkgrey")
## How did we create this file?
## Uncomment the following to create the file as we did
# if (require(rnaturalearth) && require(terra)) {
# CountryBorders <- rnaturalearth::ne_countries(scale = 'medium', returnclass = 'sf')
# CountryBorders <- vect(CountryBorders[, 0])
# #saveRDS(CountryBorders, file = "IsoriX/inst/extdata/CountryBorders.rds", compress = "xz")
# }
[Package IsoriX version 0.9.2 Index]