I am attempting to use a shapefile as a mask, where the boundary around the detectors is defined with a hard boundary on either side, and a river/stream runs in between. However, I’m facing an issue where I can’t use the exact shapefile when applying a buffer of a certain width. Without the buffer, the mask only includes the detector locations as points and excludes other available habitats where detectors were not placed.
I am using the following code:
mask.2021 <- make.mask(traps(coy.cap2021), spacing = 100,
type = "trapbuffer", poly = area)
In this case, area refers to the shapefile, which contains the desired buffer and excludes the non-habitats.
Could you help me understand what I might be missing and how to use the exact shapefile for further analysis?
Thank you!