View source: R/distance_from_sea.R
distance_from_sea | R Documentation |
Get the land mask for a dataset at a given time point, and compute distance from the sea for each land pixel.
distance_from_sea(time_bp = NULL, time_ce = NULL, dataset)
time_bp |
time slice in years before present (negative) |
time_ce |
time slice in years CE.
Only one of |
dataset |
string defining the dataset to use (a list of possible
values can be obtained with |
a terra::SpatRaster
of distances from the coastline in km
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.