OceanMask | R Documentation |
This dataset contains a polygon SpatVector (from terra). It can be used to mask large bodies of water.
A SpatVector object
See example for details on how we created the dataset.
CountryBorders
for another polygon used to embellish the plots
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")
# }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.