For each root, computes the minimum distance between the root geometry and the corresponding tree stem point.
Arguments
- roots_merged
An sf object from
merge_root_segments().- tree_points
An sf point object with tree locations and a tree ID column.
- tree_id_col
Name of tree ID column. Default
"TREE_ID".
