Learn R Programming

ForestElementsR (version 2.0.1)

assmann_layers: Attribute Tree Heights to Layers After Ernst Assmann

Description

Tree heights are attributed to three layers as proposed by assmann_1961;textualForestElementsR. The layers are called Top, T, Middle, M, and Bottom, B, and correspond to >80%, >50%, and >0% of a reference height (usually the height of the highest tree in the stand of interest).

Usage

assmann_layers(heights, reference_height = NULL)

Value

An ordered factor of T, M, B values, corresponding to heights in the order as heights was provided.

Arguments

heights

Vector of tree heights

reference_height

Reference height for the 100% level. If NULL (default), the maximum of heights will be used as reference height.

References

See Also

Other structure and diversity: shannon_index(), species_profile()

Examples

Run this code
  # Monospecific stand
  trees <- norway_spruce_1_fe_stand$trees
  assmann_layers(trees$height_m)

  # Selection forest
  trees <- selection_forest_1_fe_stand$trees
  assmann_layers(trees$height_m)

Run the code above in your browser using DataLab