hillshader {hillshader} | R Documentation |
Hillshader
Description
.
Usage
hillshader(elevation, shader = "ray_shade", filename = NULL, ...)
Arguments
elevation |
Raster, a digital elevation model. |
shader |
Character. List of |
filename |
Character. If set, the result if written as a raster file. Defaults to |
... |
Additional parameters to be passed to the either shader functions or to |
Value
Either a RasterLayer
of light intensities (hillshade), or writes the result to disk if filename
is set.
Author(s)
Pierre Roudier
Examples
# Simple example
library(raster)
hs <- hillshader(maungawhau)
plot(hs)
[Package hillshader version 0.1.2 Index]