tri: Terrain Ruggedness Index

Description Usage Arguments Value Note Author(s) References Examples

View source: R/tri.R

Description

Implementation of the Riley et al (1999) Terrain Ruggedness Index

Usage

1
tri(r, s = 3, exact = TRUE, file.name = NULL, ...)

Arguments

r

raster class object

s

Scale of window. Must be odd number, can represent 2 dimensions (eg., s=c(3,5) would represent a 3 x 5 window)

exact

Calculate (TRUE/FALSE) the exact TRI or an algebraic approximation.

file.name

Name of output raster (optional)

...

Additional arguments passed to writeRaster

Value

raster class object or raster written to disk

Note

The algebraic approximation is considerably faster. However, because inclusion of the center cell, the larger the scale the larger the divergence of the minimum value

Recommended ranges for classifying Topographic Ruggedness Index

0-80 (1) level terrain surface.

81-116 (2) nearly level surface.

117-161 (3) slightly rugged surface.

162-239 (4) intermediately rugged surface.

240-497 (5) oderately rugged surface.

498-958 (6) highly rugged surface.

>959 (7) extremely rugged surface.

Depends: raster

Author(s)

Jeffrey S. Evans <[email protected]>

References

Riley, S.J., S.D. DeGloria and R. Elliot (1999) A terrain ruggedness index that quantifies topographic heterogeneity, Intermountain Journal of Sciences 5(1-4):23-27.

Examples

1
2
3
4
5
 library(raster)
 data(elev)
  ( tri.ext <- tri(elev) )
  ( tri.app <- tri(elev, exact = FALSE) )
  plot(stack(tri.ext, tri.app))

jeffreyevans/spatialEco documentation built on Aug. 11, 2018, 1:08 p.m.