Description Usage Arguments Value Examples
Take land cover rasters from two timesteps (old and new).
1 2 | get_absences(raster_old, raster_new, category, abs_number, multiplyr = 3,
exclude_urban = FALSE, sp = FALSE)
|
raster_old |
Raster from the previous timestep. |
raster_new |
Raster from the future timestep. |
category |
Modeled land cover category. Currently only agriculture is supported. Numeric. One of c(10, 30, 40). |
abs_number |
Number of absences to create. Default is 10 000. |
multiplyr |
Multiplier for absences number. |
exclude_urban |
Should the urban areas be excluded from the absences calculation. If |
sp |
Logical. If |
Dataframe or sp object (depending on the sp
argument).
1 | None.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.