tree_metrics | R Documentation |
Calculates tree metrics from a QSM
tree_metrics(cylinder)
cylinder |
QSM cylinder data frame |
Calculates detailed tree, branch, and segment metrics from a QSM. The outputs include all of the standard outputs from TreeQSM, and also additional variables, including, but not limited to, growth length, reverse branch order, branch segment or node relationships, and distances from twigs and the base of the tree, across various distribution metrics. Also included is a simulated point cloud of the tree, based on the QSM cylinder radii. When corrected with Real Twig, this allow for the testing and validation of point cloud diameter overestimation throughout the tree.
Returns a list of tree metric data frames and synthetic point cloud
TreeQSMrTwig
\insertRefgrowth_parameter1rTwig
\insertRefgrowth_parameter2rTwig
\insertReftreegraph2rTwig
## TreeQSM Processing Chain
file <- system.file("extdata/QSM.mat", package = "rTwig")
cylinder <- import_qsm(file)$cylinder
cylinder <- update_cylinders(cylinder)
metrics <- tree_metrics(cylinder)
names(metrics)
## SimpleForest Processing Chain
file <- system.file("extdata/QSM.csv", package = "rTwig")
cylinder <- read.csv(file)
cylinder <- update_cylinders(cylinder)
metrics <- tree_metrics(cylinder)
names(metrics)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.