force_isotropy {leastcostpath} | R Documentation |
Coerce an anisotropic cost surface to an isotropic cost surface
Description
Averages conductance values from-to adjacent cells
Usage
force_isotropy(x)
Arguments
x |
|
Value
conductanceMatrix
r <- terra::rast(system.file("extdata/SICILY_1000m.tif", package="leastcostpath"))
slope_cs_aniso <- create_slope_cs(x = r, cost_function = "tobler", neighbours = 4)
slope_cs_iso <- force_isotropy(x = slope_cs_aniso)
[Package leastcostpath version 2.0.12 Index]