Adds a connectivity constraint to a scenario object.
Source:R/add_constraint.R
add_constraint_connectivity.Rd
Adds a connectivity constraint to a scenario object.
Usage
# S4 method for BiodiversityScenario,character,numeric,ANY
add_constraint_connectivity(mod,method,value,resistance)
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 asnumeric
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.
See also
Other constraint:
add_constraint_adaptability()
,
add_constraint_boundary()
,
add_constraint_dispersal()
,
add_constraint_minsize()
,
add_constraint()