oo <- options(fe_spec_lang = "eng") # Display species names in English
# Mixed mountain forest with several surveys
stand_inc <- stand_sums_dynamic(mm_forest_1_fe_stand_spatial)
stand_inc
# Combine to species overarching increments. Zero in the first year results
# as there cannot be increments available at the first survey
stand_inc |>
dplyr::group_by(time_yr) |>
dplyr::summarise(
iba_m2_ha_yr = sum(iba_m2_ha_yr, na.rm = TRUE),
iv_m3_ha_yr = sum(iv_m3_ha_yr, na.rm = TRUE)
)
# When there is only one single survey, all increments must be NA
stand_sums_dynamic(spruce_beech_1_fe_stand)
options(oo) # Set options to previous values
Run the code above in your browser using DataLab