lowest_common_branch: Find lowest common branch were the two items are shared
Description
Given two vectors, for two items, of cluster belonging - the function finds
the lowest branch (e.g: largest number of k clusters) for which the two
items are in the same cluster for the two trees.
Usage
lowest_common_branch(item1, item2, ...)
Value
The first location (from left) where the two vectors have the same A dendrogram, after adjusting the members attr in all of its nodes.
Arguments
item1
a named numeric vector (of cluster group with names of k level)
item2
a named numeric vector (of cluster group with names of k level)