Description Usage Arguments Value Examples
Input a distance matrix and returns a dataframe with two columns: area and clustering grouping, where a choice of clustering method is provided.
1 | get_clusters(dist_mat, cluster_num, method)
|
dist_mat |
A distance matrix. |
cluster_num |
Number of clusters. |
method |
The agglomeration method that is passed to |
A map upon which dialect areas are clustered.
A dataframe with the two columns area and (clustering) grouping.
1 2 3 | # Example 1:
data(distDutch)
get_clusters(distDutch, 5 ,"ward.D2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.