Skip to contents

Extracts the tree height from the treedata of a TreeQSM.

Usage

tree_height_qsm(treedata)

Arguments

treedata

Treedata field of a TreeQSM that is returned by read_tree_qsm.

Value

The tree height of the TreeQSM in meters.

Examples

if (FALSE) {
# Read tree qsm and extract tree height
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
height <- tree_height_qsm(treedata = qsm$treedata)
}