Learn R Programming

TreeLS (version 2.0.2)

treeMap.merge: Merge tree coordinates too close on treeMap outputs.

Description

Check all tree neighborhoods and merge TreeIDs which are too close in a treeMap's object.

Usage

treeMap.merge(map, d = 0.2)

Arguments

map

object generated by treeMap.

d

numeric - distance threshold.

Details

The d parameter is a relative measure of close neighbors. Sorting all possible pairs by distance from a tree map, the merge criterion is that none of the closest pairs should be distant less than the next closest pair's distance minus d. This method is useful when merging forked stems or point clusters from plots with too much understory, especially if those are from forest stands with regularly spaced trees.