Learn R Programming

treecm (version 1.2.2)

anchorRange: Min/max values for the anchor position along the stem

Description

The anchor level must not be lower than the tree CM (for obvious static reasons) and higher than ``main stem'' height

Usage

anchorRange(logs, CM)

Arguments

logs
a data frame holding the selected logs (see logPathSelection)
CM
an object of CM class

Value

a named vector of 2 elements:
z
the height of the CM
hMax
the height of the ``main stem'' tip

See Also

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

Examples

Run this code
library(treecm)
data(stonePine1TreeData)
vectors <- treeVectors(stonePine1TreeData)
CM <- centreOfMass(vectors)
logs <- logPathSelection(stonePine1TreeData)
anchorRange(logs, CM)

Run the code above in your browser using DataLab