View source: R/fit_weib_models.r
fit.weib.models | R Documentation |
Function to fit Weibull and log-log height-diameter models.
fit.weib.models(x, thresh = 20, weib.only = FALSE)
x |
Dataframe with columns names Height (consisting of measured heights), Diameter (measured diameters) and WD (wood density). These will be present if an object return by |
thresh |
Minimum number of height observations needed to attempt to fit models |
weib.only |
Logical. Should the search for the best model be constrained to Weibull models. If TRUE, log-log models are only selected when neither Weibull models converge. Default is FALSE. |
Dataframe with estimated parameters, number of height measurments used to fit the models and the error at estimating AGB compared to AGB estimates using observed heights (in units of Mg per tree). Parameters of the 'best' model (i.e. lowest AGB prediction error) are also given.
Martin Sullivan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.