Description Usage Arguments Value
View source: R/cluster_yields.R
Create active binding to plot code in a split screen device
1 | make_dendrogram_plot(plot_data, tree, cluster_number)
|
plot_data |
sf; a copy of the |
tree |
hclust; an hclust object returned from |
cluster_number |
integer; number of clusters to be used. |
A two panel plot with the first panel being the field map colored by cluster and the second panel being a dedrogram with colored rectangles showing the clusters. The colors in the two plots should match.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.