CountryBorders | R Documentation |
This dataset contains a polygon polygon SpatVector (from terra). It can be used to draw the borders of world countries.
A SpatVector object
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.
OceanMask
for another polygon used to embellish the plots
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")
# }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.