The function makes sure the two branches of the root of a dendrogram will have the same height. The user can choose how to decide which height to use.
flatten.dendrogram(dend, FUN = max, new_height, ...)
dendrogram object
how to choose the new height of both branches (defaults to taking the max between the two)
overrides FUN, and sets the new height of the two branches manually
passed on (not used)
A dendrogram with both of the root's branches of the same height