Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vrm

Vector Ruggedness Measure (VRM)


Description

Implementation of the Sappington et al., (2007) vector ruggedness measure

Usage

vrm(x, s = 3, file.name = NULL, ...)

Arguments

x

Elevation 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)

file.name

Name of output raster (optional)

...

Additional arguments passed to writeRaster

Value

raster class object or raster written to disk

Note

This function measures terrain ruggedness by calculating the vector ruggedness measure

Author(s)

Jeffrey S. Evans <jeffrey_evans@tnc.org>

References

Sappington, J.M., K.M. Longshore, D.B. Thomson (2007). Quantifying Landscape Ruggedness for Animal Habitat Analysis: A case Study Using Bighorn Sheep in the Mojave Desert. Journal of Wildlife Management. 71(5):1419-1426

Examples

library(raster)
 data(elev)
   vrm3 <- vrm(elev) 
   vrm5 <- vrm(elev, s=5)
   plot(stack(vrm3, vrm5))

spatialEco

Spatial Analysis and Modelling Utilities

v1.3-6
GPL-3
Authors
Jeffrey S. Evans [aut, cre], Melanie A. Murphy [ctb], Karthik Ram [ctb]
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.