Description Usage Arguments Value Examples
A convenience wrapper for generating a velocity (distance per unit time) raster based on various hiking functions.
1 | hf_velocity(x, hf = "tobler", ...)
|
x |
A |
hf |
|
... |
Arguments to be passed to individual hiking functions. |
A RasterLayer
of velocity values in km/hr.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
library(raster)
dem <- raster(system.file("extdata/slc.tif", package = "rHike"))
slope <- hf_slope(dem)
tobler <- hf_velocity(slope, hf = "tobler", on.path = TRUE)
campbell <- hf_velocity(slope, hf = "campbell", decile = 30)
plot(stack(tobler, campbell))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.