% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_dendrogram.R
\name{plot_dendrogram}
\alias{plot_dendrogram}
\title{Plot functional dendrogram of epidemic curves}
\usage{
plot_dendrogram(
  x,
  label_fun = NULL,
  palette = NULL,
  show_cut = TRUE,
  label_size = 2.8
)
}
\arguments{
\item{x}{An object of class \code{"functional_distances"}.}

\item{label_fun}{Optional function to modify treatment labels.}

\item{palette}{Optional named vector of colors for clusters.}

\item{show_cut}{Logical; whether to display the cluster cut height.}

\item{label_size}{Numeric specifying the font size of the labels. Default is \code{2.8}.}
}
\value{
A \code{ggplot} object.
}
\description{
Visualizes the hierarchical clustering of treatments based on
functional distances among epidemic curves.
}
