rfi {doolkit} | R Documentation |
relief index
Description
Compute the relief index of a 3d triangle mesh.
Usage
rfi(mesh, method = "Ungar", hull = "concave")
Arguments
mesh |
object of class mesh3d |
method |
a character string indicating which method is to be used for the computation of relief index |
hull |
the method used to compute the hull of the 2d projection, either 'convex' or 'concave'.
The default method is 'convex'. See |
Details
As of version 1.42.2, the concave hull fails intermittently on Mac systems, so the function defaults to convex hulls (on other systems, it defaults to concave hulls).
Value
A single relief index value.
References
doi:10.1016/j.jhevol.2008.08.002Boyer (2008) doi:10.1371/journal.pone.0066142Guy et al. (2013) Ungar and Williamson (2000)
See Also
Examples
rfi <- rfi(dkmodel$cusp, method = "Ungar", hull = "convex")
lrfi <- rfi(dkmodel$cusp, method = "Boyer", hull = "convex")
gamma <- rfi(dkmodel$cusp, method = "Guy")
[Package doolkit version 1.42.2 Index]