Learn R Programming

spatialEco (version 1.3-7)

sar: Surface Area Ratio

Description

Calculates the Berry (2002) Surface Area Ratio based on slope

Usage

sar(x, s = NULL, ...)

Value

raster class object of Berry (2002) Surface Area Ratio

Arguments

x

raster object

s

cell resolution (default is NULL, not needed if projection is in planar units)

...

Additional arguments passed to raster::calc

Author

Jeffrey S. Evans <jeffrey_evans@tnc.org>

References

Berry, J.K. (2002). Use surface area for realistic calculations. Geoworld 15(9):20-1.

Examples

Run this code
  library(raster)
  data(elev)
  surface.ratio <- sar(elev, s=90)
  plot(surface.ratio)
    

Run the code above in your browser using DataLab