Learn R Programming

IsoriX (version 0.9.3)

OceanMask: Mask of world oceans

Description

This dataset contains a polygon SpatVector (from terra). It can be used to mask large bodies of water.

Arguments

Format

A SpatVector object

See Also

  • CountryBorders for another polygon used to embellish the plots

Examples

Run this code

plot(OceanMask, col = "blue")

## How did we create this file?

## Uncomment the following to create the file as we did
# if (require(terra)) {
#   worldlimit <- vect(ext(CountryBorders))
#   crs(worldlimit) <- crs(CountryBorders)
#   OceanMask <- worldlimit - CountryBorders
#   #saveRDS(OceanMask, file = "IsoriX/inst/extdata/OceanMask.rds", compress = "xz")
# }

Run the code above in your browser using DataLab