This function calls cutree() or cmdscale(cophenetic()) in order to output the
Matrix Representation of Hierarchical clustering (MRH).
If method="groups" then clustering tree is cut by all possible numbers of clusters 'k'
(excluding k=1 and k=n which bring no information).
If method="height" then clustering tree is cut by equally spaced agglomeration heights
(excluding minimal and maximal heights which bring no information). It is recommended to specify
'dim' bigger then default here. Works only for ultrametric trees.
If method="cophenetic" then multidimensional scaling scores with maximum dimensionality on cophenetic
distances are computed. This is supposedly the most precise representation of clustering.
Separate function Hcl2mat() represents the fourth method where in the resulting matrix, each column
corresponds with one cluster, and values are 1 or 0 (cluster includes object or not).
The main feature of the resulted matrices is that they provide the way of conversion between original data,
distance matrices and clustering results. As they represent the _same_ objects, it is possible
to "hyper-bind", or "average" (Ashkenazy et al., 2018) them.