View source: R/patch_priority.R
patch_priority | R Documentation |
Calculate habitat patch priority
patch_priority(
suit,
suit_bin,
corr_bin,
resist,
min_area = terra::res(suit)[1] * terra::res(suit)[2],
d,
progress = TRUE
)
suit |
A SpatRaster object of continuous habitat suitability values, where values range
from 0-1. See |
suit_bin |
A SpatRaster object of binary suitable (1) and unsuitable
(0) habitat created using |
corr_bin |
A SpatRaster object of binary corridor (1) and non-corridor
(0) values created using |
resist |
A SpatRaster object where values represent resistance to movement, higher values represent greater resistance. |
min_area |
The minimum area to be considered a habitat patch. Value in square meters. Default is to remove any patches that are only one pixel in size. |
d |
Minimum dispersal distance (in meters). |
progress |
Logical, whether or not to show a progress bar. |
A list object with one SpatRaster for each of the three connectivity metrics and a summary table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.