slopeAspect: Slope and aspect

Description Usage Arguments See Also

Description

This is a deprecated function. Use terrain instead.

Usage

1
2
slopeAspect(dem, filename='', out=c('slope', 'aspect'), unit='radians', 
                 neighbors=8, flatAspect, ...)  

Arguments

dem

RasterLayer object with elevation values in map units, or in meters when the crs is longitude/latitude

filename

Character. Filename. optional

out

Character vector containing one or more of these options: 'slope', 'aspect'

unit

Character. 'degrees' or 'radians'

neighbors

Integer. Indicating how many neighboring cells to use to compute slope for any cell. Either 8 (queen case) or 4 (rook case), see Details

flatAspect

Numeric or NA. What value to use for aspect when slope is zero (and hence the aspect is undefined)? The default value is 90 degrees (or 0.5*pi radians)

...

Standard additional arguments for writing RasterLayer files

See Also

terrain



Search within the raster package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.