count_gap: Count the number of gaps based on a threshold
Description
This function counts the number of gaps based on the cutting the tree method.
It counts the number of branches that are above the threshold distance.
Usage
count_gap(d = d, count = 0, threshold = threshold)
Arguments
- d
dendrogram class object
- count
count
- threshold
a numeric value for threshold