Description Usage Arguments Details Author(s) Examples
it returns a raster layer with the sum of the absolute values of the elevation differences between a central grid cell and its 8 neighboring cells
1 |
r1 |
is the raster layer to compute TRI from |
gri |
is the resolution of the grid in which TRI should be calculated. grid=3 (default) will look like this : |
na.rm |
whether NA cells should be computed or not. |
1,1,1, 1,0,1, 1.1,1 where 0 is the focal cell where the index is calculated and 1 the cells used to calculated the relative index
Cyril Milleret
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.