Description Usage Arguments Details Value Author(s) See Also Examples
Calculation of the topographic index from a DEM raster
1 |
DEM |
A matrix representing a DEM with equally sized pixels and equal NS and EW resolution |
res |
Resolution of the DEM (m) |
river |
A matrix representing a river map (optional). All cells with values higher than 0 will be treated as river cells. |
The river map should not contain negative values
The function returns a list, containing 2 rasters. Atb are the topographic index values of each grid cell. Area contains the contributing area
Wouter Buytaert, Imperial College London, based on routines developed by the hydrology group of Lancaster University
1 2 3 | data(huagrahuma.dem)
#topidx <- topidx(huagrahuma.dem, resolution= 25)$atb
#image(topidx)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.