Description Usage Arguments Value Examples
View source: R/hf_efficiency.R
A convenience wrapper for generating an efficiency (energy per unit distance) raster based on various hiking functions.
1 | hf_efficiency(x, hf = "herzog", ...)
|
x |
A |
hf |
|
... |
Arguments to be passed to individual hiking functions. |
A raster*
of velocity values in J/kg/m.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(raster)
dem <- raster(system.file("extdata/slc.grd", package = "rHike"))
slope <- hf_slope(dem)
efficiency <- hf_efficiency(slope, hf = "herzog")
plot(efficiency)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.