- diameter
A numeric vector of tree diameters (in cm).
- height
A numeric vector of tree heights (in m).
- ntrees
An optional numeric value indicating the number of trees in
this diameter-height class. Defaults to 1 if NULL.
- species
A character string specifying the scientific name of the tree
species. See Details for available species.
- component
A character string specifying the tree component for biomass
calculation (e.g., "tree", "stem", "branches"). See Details.
- model
A character string indicating the ID of the publication in which
the model was developed. Currently supported models: "ruiz-peinado-2012"
(hardwood species in Spain) and "ruiz-peinado-2011" (softwood species in
Spain). See Details.
- return_rmse
A logical value. If TRUE, the function returns the root
mean squared error (RMSE) of the selected model instead of the biomass value.
- quiet
A logical value. If TRUE, suppresses any informational messages.