patch_priority: Calculate habitat patch priority

View source: R/patch_priority.R

patch_priorityR Documentation

Calculate habitat patch priority

Description

Calculate habitat patch priority

Usage

patch_priority(
  suit,
  suit_bin,
  corr_bin,
  resist,
  min_area = terra::res(suit)[1] * terra::res(suit)[2],
  d,
  progress = TRUE
)

Arguments

suit

A SpatRaster object of continuous habitat suitability values, where values range from 0-1. See rescale_map for rescaling values to 0-1.

suit_bin

A SpatRaster object of binary suitable (1) and unsuitable (0) habitat created using bin_map

corr_bin

A SpatRaster object of binary corridor (1) and non-corridor (0) values created using bin_map

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.

Value

A list object with one SpatRaster for each of the three connectivity metrics and a summary table.


ccmothes/habicon documentation built on Sept. 16, 2024, 1:34 a.m.