dbh_qsm | R Documentation |
Extracts the DBH from the treedata of a TreeQSM.
dbh_qsm(treedata)
treedata |
Treedata field of a TreeQSM that is returned by
|
The DBH is calculated as the diameter of the cylinder in the QSM at the right height (cylinder at 1.3 m). If the trunk was modeled with triangulation the DBH is calculated as mean length of the diagonals in the triangulation.
The DBH of the TreeQSM in meters.
## Not run:
# Read tree qsm and extract DBH
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
dbh <- dbh_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.