Description Usage Arguments Value Examples
This is a helper function for absences creation that takes a raster, and reclassifies it to 0-1 raster.
Reclassified raster should be ESA CCI LC data. For the values_included
argument,
numerical vector of all land cover values in the raster (they are turned to value 1).
For the values_excluded
argument, numerical vector of land cover categories to be excluded
from absence creation (usually the modeled category and urban/bare areas)
should be provided (they are turned to value 0).
Argument filename
is the name of the temporary file created.
1 | rcl_excluded_vals(x, vals_included, vals_excluded, filename)
|
x |
Input raster to be classified. |
vals_included |
Values of all possible categories (without the excluded values). |
vals_excluded |
Values to be excluded from absence creation. Usually modeled category or urban. |
filename |
Temporary file to write. |
Raster object.
1 | None.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.