Skip to contents

Adds a connectivity constraint to a scenario object.

Usage

add_constraint_connectivity(mod, method, value = NULL, resistance = NULL, ...)

# S4 method for BiodiversityScenario
add_constraint_connectivity(mod, method, value = NULL, resistance = NULL, ...)

Arguments

mod

A BiodiversityScenario object with specified predictors.

method

A character indicating the type of constraints to be added to the scenario. See details for more information.

value

For many dispersal "constrain" this is set as numeric value specifying a fixed constrain or constant in units "m" (Default: NULL). For kissmig the value needs to give the number of iteration steps (or within year migration steps). For adaptability constraints this parameter specifies the extent (in units of standard deviation) to which extrapolations should be performed.

resistance

A SpatRaster object describing a resistance surface or barrier for use in connectivity constrains (Default: NULL).

...

passed on parameters. See also the specific methods for adding constraints.