corr_priority: Corridor priority calculation

View source: R/corr_priority.R

corr_priorityR Documentation

Corridor priority calculation

Description

Corridor priority calculation

Usage

corr_priority(
  suit,
  suit_bin,
  corr_bin,
  resist,
  min_area = res(suit)[1] * res(suit)[2],
  d
)

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. @param 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. @param d Minimum dispersal distance (in meters).

Value

A SpatRaster object


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