Description Usage Arguments Value Author(s) See Also
Derive slope, aspect, etcetera from an elevation raster (elevation rasters are sometimes referred to with the awkward term "DEM", or "digigal elevation model")
| 1 | 
| dem | filename, RasterLayer, or SpatialGridDataFrame. If the object has multiple layers, the first is assumed to have the elevation data | 
| type | Character. One of: "hillshade", "slope", "aspect", "color-relief", "TRI", "TPI", "roughness" | 
| filename | Character. Output filename (optional) | 
| options | options. See http://www.gdal.org/gdaldem.html | 
| format | Character. GDAL format code | 
RasterLayer
Lyndon Estes and Robert J. Hijmans
http://www.gdal.org/gdaldem.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.