View source: R/predictHeight.R
predictHeight | R Documentation |
The function predicts height from diameter based on a fitted model.
predictHeight(D, model, err = FALSE, plot = NULL)
D |
Vector of diameter (in cm). |
model |
A height-diameter model output by the function |
err |
If |
plot |
(optional) Plot ID, must be either one value, or a vector of the same length as D. This argument is used to build stand-specific HD models. |
In the case where the error is FALSE
and the model is a log-log model, we use the
Baskerville correction, a bias correction factor used to get unbiased backtransformation values.
Returns a vector of total tree height (in m).
Maxime REJOU-MECHAIN, Ariane TANGUY, Arthur PERE
minpack.lm::nlsLM()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.