Visualizes the hierarchical clustering of treatments based on
functional distances among epidemic curves.
Usage
plot_dendrogram(
x,
label_fun = NULL,
palette = NULL,
show_cut = TRUE,
label_size = 2.8
)
Arguments
- x
An object of class "functional_distances".
- 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 2.8.