'FCluster with Param "maxclust" -- Get the chosen Threshold

I am currently clustering data and I used hierarchy.fcluster with the parameter "maxclust".

According to the documentation the algorithm picks a threshold thats fits.

Finds a minimum threshold r so that the cophenetic distance between any two original observations in the same flat cluster is no more than r and no more than t flat clusters are formed.

Is there a way to figure out the chosen threshold?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source