Description Usage Arguments Value
View source: R/substitute_change.R
Substitute DBH changes (cm/yr) outside of a pre-set acceptable range of DBH changes by their expected values based on other observed values inside the pre-set interval. Can also substitute AGB changes by intergrating the AGB allometry over the distribution of expected DBH changes. This function allows to have unbiased stand-level estimates of DBH and AGB growth while removing the most obvious measurement errors.
1 2 3 4 5 6 7 8 9 10 11 12 |
varD |
Vector of changes in DBH. |
hom_change |
Vector of changes in height of measurement. |
cut |
Acceptable range of DBH changes. Default is c(-0.5, 5) |
lambda |
Parameter of the modulus function used to normalize DBH changes (see Condit et al., 2017). Default is 0.5 |
value |
What change should be computed, either "D" (DBH) or "AGB". Default is "D". |
D |
Must provide a value when value = "AGB". Default is NULL. |
WD |
Vector of wood densities. Must provide a value when value = "AGB" (can be "NA" for temperate sites). Default is NULL. |
E |
Vector of environmental parameter used in Chave et al pantropical allometric equation. Must provide a value when value = "AGB" (NA for temperate sites). Default is NULL. |
a |
Vector of first parameter used in Chojnacky allometric equations. Must provide a value when value = "AGB" (NA for tropical sites). Default is NULL. |
b |
Vector of second parameter used in Chojnacky allometric equations. Must provide a value when value = "AGB" (NA for tropical sites). Default is NULL. |
A vector of corrected changes in DBH (if value = "D) or AGB (if value = "AGB).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.