Description Usage Arguments Value Examples
This is a convenient (maybe?) wrapper around raster::terrain()
.
1 | hf_slope(dem)
|
dem |
A |
A RasterLayer
with slope values in degrees.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library(raster)
dem <- raster(system.file("extdata/slc.grd", package = "rHike"))
slope <- hf_slope(dem)
plot(slope)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.