tidyclust
tidyclust copied to clipboard
Distance metric for hier_clust in tidyclust
trafficstars
Hi,
I was reading the documentation of hier_clust and realise that it was using stats::hclust as the engine.
From my understanding, the input to stats::hclust requires to be a distance matrix produced by dist.
Can I assume that the Euclidean distance is used by default ?
If possible, are there any plans for the function hier_clust to accept other distance metric like "manhattan", "minkowski", "pearson" or "jaccard" ?
Hello @JauntyJJS 👋
That is a good idea, will be look into making that possible