check_monotonicity {TapeS} | R Documentation |
monotonicity check for taper curve
Description
monotonicity check for taper curve
Usage
check_monotonicity(obj, Rfn = NULL)
Arguments
obj |
object of class 'tprTrees' |
Rfn |
Rfn setting for residuals error matrix, defaults to
|
Details
Taper curves are required to decrease monotonically. To avoid the
evaluation of non-monotone taper curves, a check is done through the
constructor function and an indicator (monotone
) is set for each tree
stored inside the tprTrees
-class. As the data has been check on validity
before this function is applied, we can use the tpr*-functions to evaluate
the taper curve and its monotonicity.
The check is done via comparison of the expected diameters along the trunk in
1m-steps and its sorted (monotonically decreasing) version using
identical
.
Value
vector of logicals, same length as spp
.
[Package TapeS version 0.12.1 Index]