rfi: relief index

View source: R/topography.R

rfiR 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 area2d

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

area2d

RFI

Examples

rfi <- rfi(dkmodel$cusp, method = "Ungar", hull = "convex")
lrfi <- rfi(dkmodel$cusp, method = "Boyer", hull = "convex")
gamma <- rfi(dkmodel$cusp, method = "Guy")

doolkit documentation built on Feb. 16, 2023, 11 p.m.