rasterise | R Documentation |
converts conductanceMatrix to SpatRaster
rasterise(x)
x |
|
spatRaster
Joseph Lewis
r <- terra::rast(system.file("extdata/SICILY_1000m.tif", package="leastcostpath"))
slope_cs <- create_slope_cs(x = r, cost_function = "tobler", neighbours = 4)
cs_rast <- rasterise(slope_cs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.