This is one of a few functions created by Joe Cauteruccio, Jessie Li, Andrew West of Yale University that are used together to create the hclust_eval() function.
1 2 | hclus_eval(data_m, dist_m = "euclidean", clus_m = "ward",
plot_op = T, dist_cust = NA)
|
data_m |
Data as a matrix. |
dist_m |
Distance metric of choice; defaults to euclidean. |
clus_m |
Agglomeration method of choice; defaults to Ward's method. |
plot_op |
Indicates whether to plot RSQ, RMSSTD, SPRSQ, and CD against each other. Defaults to "T" (true). |
dist_cust |
A custom distance metric; defaults to NA. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.