fit.weib.models: fit.weib.models

View source: R/fit_weib_models.r

fit.weib.modelsR Documentation

fit.weib.models

Description

Function to fit Weibull and log-log height-diameter models.

Usage

fit.weib.models(x, thresh = 20, weib.only = FALSE)

Arguments

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 mergefp is used.

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.

Value

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.

Author(s)

Martin Sullivan


ForestPlots/BiomasaFP documentation built on April 28, 2023, 8:26 a.m.