forest_mergeTrees: Forest merge functions

View source: R/forest_mergeTrees.R

forest_mergeTreesR Documentation

Forest merge functions

Description

Functions to merge cohorts of a forest object.

Usage

forest_mergeTrees(x, byDBHclass = TRUE)

forest_mergeShrubs(x, byHeightclass = TRUE)

Arguments

x

An object of class forest.

byDBHclass

Logical flag to indicate that 5-cm tree DBH classes should be kept separated.

byHeightclass

Boolean flag to indicate that 10-cm shrub height classes should be kept separated.

Details

Tree DBH classes are defined in 5-cm intervals, whereas shrub height classes are defined in 10-cm intervals. Tree DBH and shrub height classes are defined up to a specific size (i.e. larger plants are not merged) corresponding to 52.5 cm and 90 cm, respectively.

Value

Another forest object with merged trees or shrubs, depending on the function.

Author(s)

Miquel De Cáceres Ainsa, CREAF

See Also

spwb, forest, fordyn, summary.forest


medfate documentation built on Aug. 29, 2023, 5:07 p.m.