Internal function, not intended to be called directly.
.habConnRcpp(cost, patches, ncol, nrow)
Numeric vector of habitat cost (resistance) values extracted from a cost raster 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 cost and patch raster maps.
Number of rows in both the cost and patch raster maps.
Sam Doctolero