rrate {doolkit} | R Documentation |
relief rate
Description
Compute the relief rate from a sub-sample of a 3d triangle mesh. For instance, the relief rate could be computed from the portion of a molar above the lowermost point of its central basin, compared to the whole tooth.
Usage
rrate(uncropped, cropped, origin = TRUE)
Arguments
uncropped |
object of class mesh3d. Should entirely contain the 'cropped' argument. |
cropped |
object of class mesh3d. Should be part of the 'uncropped' argument. |
origin |
logical, if TRUE both cropped and uncropped mesh are translated along the z-axis
so that the lowest z of the uncropped mesh = 0; see |
Value
A single relief rate value.
References
doi:10.1002/ajpa.23916Thiery et al. (2019)
Examples
medelev <- median(elev(dkmodel$cusp))
basins <- dkcrop(dkmodel$cusp, which(elev(dkmodel$cusp) < medelev))
cusps <- dkcrop(dkmodel$cusp, which(elev(dkmodel$cusp) > medelev))
rrate(dkmodel$cusp, basins)
rrate(dkmodel$cusp, cusps)
[Package doolkit version 1.42.2 Index]