Internal function, not intended to be called directly. DESCRIPTION NEEDED.
.habConnRcpp(cost, patches, ncol, nrow)
Numeric vector of habitat cost (resistance) values extracted from a raster cost map.
Numeric vector that have binary values (0
and 1
)
where ones corresponds to patch cells and zeroes to
non-habitat (i.e., matrix) cells.
Number of columns in the raster cost/patch map.
Number of rows in the raster cost/patch map.