habConnRcpp: Habitat connectivity engine (C++)

.habConnRcppR Documentation

Habitat connectivity engine (C++)

Description

Internal function, not intended to be called directly.

Usage

.habConnRcpp(cost, patches, ncol, nrow)

Arguments

cost

Numeric vector of habitat cost (resistance) values extracted from a cost raster map.

patches

Numeric vector that have binary values (0 and 1) where ones corresponds to patch cells and zeroes to non-habitat (i.e., matrix) cells.

ncol

Number of columns in the cost and patch raster maps.

nrow

Number of rows in both the cost and patch raster maps.

Author(s)

Sam Doctolero


achubaty/grainscape documentation built on Jan. 26, 2025, 7:16 a.m.