View source: R/plot_dendrogram.R
| plot_dendrogram | R Documentation |
Visualizes the hierarchical clustering of treatments based on functional distances among epidemic curves.
plot_dendrogram(
x,
label_fun = NULL,
palette = NULL,
show_cut = TRUE,
label_size = 2.8
)
x |
An object of class |
label_fun |
Optional function to modify treatment labels. |
palette |
Optional named vector of colors for clusters. |
show_cut |
Logical; whether to display the cluster cut height. |
label_size |
Numeric specifying the font size of the labels. Default is |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.