getTreesBB {ssExtra} | R Documentation |
"sampSurf"
object
This is a utility routine that will extract the tree population from an object of class “sampSurf”. It will return the population in two different formats as noted below.
getTreesBB(ssObj, ...)
ssObj |
An object of class |
... |
Gobbled currently. |
This routine will return all of the necessary individual tree attributes
for recreating the population as a "standingTrees"
object, including the spatial locations for the trees. Of course, that
is not necessary, since the “standingTrees” object is included in
the return. However, in addition to the usual information for such an
object, the data frame returned also includes individual tree
VBARs, which makes it useful for big BAF sampling.
Recall that the tree population is independent of the estimate attribute for the sampling surface. Therefore, any “sampSurf” object can be passed to extract the population of trees (see, e.g., the example below).
A list invisibly with...
trees |
A data frame containing the full tree population. |
strees |
An object of class |
nTrees |
The number of trees in both |
Jeffrey H. Gove
standingTrees-methods
, sampleTrees
# # if ssBB is a "ssBigBAF" object, then, simply... # ## Not run: tp.vol = getTreesBB(ssBB@ss.bb.vol) #from volume tp.ba = getTreesBB(ssBB@ss.bb.ba) #from basal area identical(tp.vol, tp.ba) #identical ## End(Not run)