Add non-habitat zones to a Habitat object
Arguments
- hab
A Habitat object
- sf_data
An sf object containing geometries to add
- priority
Stacking order of the added layer when the habitat is rasterized with
habitat_raster: the non-habitat zone only excludes the pixels where no layer of higher priority lies on top of it. Same default as inadd_habitat: on top of everything already inhab.- touches
Logical, a single value for the whole layer or one value per feature. If
TRUE(default), every pixel touched by the features is excluded, so that the barrier is watertight: it cannot vanish between pixel centres nor be crossed diagonally between two pixels. IfFALSE, a polygon only excludes the pixels whose centre it covers and a line only the pixels of a thin line. Seeadd_habitatfor details.- ...
Additional arguments