CountryBorders function

Borders of world CountryBorders

Borders of world CountryBorders

This dataset contains a polygon polygon SpatVector (from terra). It can be used to draw the borders of world countries. data

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.

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") # }

See Also

  • OceanMask for another polygon used to embellish the plots