Learn R Programming

treecm (version 1.2.2)

logPathSelection: Returns tree logs and branches being part of the ``main stem''

Description

The ``main stem'' is not very clearly defined. Most softwood species (ie Picea, Abies, Pseudotsuga etc.) have only one stem given by their dominant apex. Hardwood species (Quercus, Tilia etc) and some softwood species (eg Pinus pinea) do not exhibit a dominant apex and branches often enlarge and grow taller than the apex. In these latter cases one has to select an appropriate path from tree base to tree tip, according to what may be considered the ``main stem'' of the tree. Both in former and latter cases the path selection has to be laid down in the fieldData data frame.

Usage

logPathSelection(treeData)

Arguments

treeData
A named list that includes a fieldData data frame element, holding pathToTip-, azimuth-, length-, tilt-named columns

Value

a data frame subsetted from the fieldData data frame having TRUE selected branches and logs, with three columns: azimuth, length, tilt. The first row if filled with zeros.

See Also

importFieldData

Other Stabilization: anchorRange, centreOfMassAngle, centreOfMassModulus, getPlinthForce, toCartesianXYZ

Examples

Run this code
library(treecm)
data(stonePine1TreeData)
logs <- logPathSelection(stonePine1TreeData)

Run the code above in your browser using DataLab