check_monotonicity | R Documentation |
monotonicity check for taper curve
check_monotonicity(obj, Rfn = NULL)
obj |
object of class 'tprTrees' |
Rfn |
Rfn setting for residuals error matrix, defaults to
|
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
.
vector of logicals, same length as spp
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.