hiking: Tobler's hiking function

Description Usage Arguments Value References Examples

View source: R/hiking.R

Description

A function that determines the hiking speed of a typical healthy adult person while taking into account the slope angle.

Usage

1
hiking(gradient)

Arguments

gradient

dh/dx, i.e., a fraction of elevation difference over the horizontal distance (also a tangens of the slope angle)

Value

a walking velocity in km/h

References

Tobler, Waldo (February 1993). Three presentations on geographical analysis and modeling: Non-isotropic geographic modeling speculations on the geometry of geography global spatial analysis. Technical Report. National center for geographic information and analysis. 93 (1).

https://en.wikipedia.org/wiki/Tobler%27s_hiking_function

Examples

1
2
3
4
5
# a maximum of 6 km/h corresponds to the downhill angle of 2.86 degrees
hiking(tanpi(-2.86/180))

# speed on a path with flat surface
hiking(0)

beerda/hexmatrix documentation built on May 2, 2021, 4:15 a.m.