spatialEco (version 1.3-2)

srr: Surface Relief Ratio

Description

Calculates the Pike (1971) Surface Relief Ratio

Usage

srr(x, s = 5, ...)

Arguments

x

raster object

s

Focal window size

...

Additional arguments passed to raster::calc

Value

raster class object of Pike's (1971) Surface Relief Ratio

Examples

Run this code
# NOT RUN {
  library(raster)
  data(elev)
  r.srr <- srr(elev, s=5)
    plot(r.srr, main="Surface Relief Ratio") 

 
# }

Run the code above in your browser using DataCamp Workspace