| build_range_stack | R Documentation |
Build a species range stack
build_range_stack(
source,
template,
species_col = NULL,
species_keep = NULL,
region = NULL,
touches = TRUE
)
source |
Directory, vector file, sf, or SpatVector. |
template |
Raster template. |
species_col |
Species column for multi-species data. |
species_keep |
Optional species subset. |
region |
Optional crop region. |
touches |
Count all touched cells. |
A terra::SpatRaster with named species layers, optionally cropped and filtered to the region.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.