.hier_clust_fit_stats | R Documentation |
This wrapper prepares the data into a distance matrix to send to
stats::hclust
and retains the parameters num_clusters
or h
as an
attribute.
.hier_clust_fit_stats(
x,
num_clusters = NULL,
cut_height = NULL,
linkage_method = NULL,
dist_fun = Rfast::Dist
)
x |
matrix or data frame |
num_clusters |
the number of clusters |
cut_height |
the height to cut the dendrogram |
linkage_method |
the agglomeration method to be used. This should be (an
unambiguous abbreviation of) one of |
dist_fun |
A distance function to use |
A dendrogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.