Description Usage Arguments Value
DBH correction in ForestGEO data
1 2 3 4 5 6 7 8 9 10 11 | correct_dbh(
dbh,
year,
Gexp = 5,
codes = NA,
acc_decr = -5,
acc_incr = 35,
relat_change = FALSE,
step_corr = TRUE,
dcor_min = 10
)
|
dbh |
a numeric vector containing the dbh measurements of a tree or stem |
year |
a numeric vector containing the census years of a tree or stem |
Gexp |
expected growth rate |
codes |
optional, a character vector containing the field codes of a tree or stem |
acc_decr |
numeric: acceptable decrease between two censuses, as a proportion if relat_change is TRUE or in mm if relat_change is false |
acc_incr |
numeric: acceptable annual increase, as a proportion (per year) if relat_change is TRUEor in mm/year if relat_change is false |
relat_change |
logical: should the decrease and increse values be relative (proportion of total dbh) or absolute values (in mm)? |
step_corr |
logical: should step dbh changes be corrected? |
dcor_min |
numeric: minimum dbh (in mm) of corrected stems |
A numeric vector with corrected dbhs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.