View source: R/basic_metrics_qsm.R
trunk_volume_qsm | R Documentation |
Extracts the total trunk volume from the treedata of a TreeQSM.
trunk_volume_qsm(treedata)
treedata |
Treedata field of a TreeQSM that is returned by
|
The total trunk volume of the TreeQSM in liters. If the trunk was modelled with triangulation the total volume is the sum of the triangulated volume of the stem (bottom) and the volume of the stem cylinder (top).
## Not run:
# Read tree qsm and extract trunk volume
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
trunkvol <- trunk_volume_qsm(treedata = qsm$treedata)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.