% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{plot_diagnostics}
\alias{plot_diagnostics}
\title{Plot diagnostics for functional epidemic curve models}
\usage{
plot_diagnostics(
  diag,
  layout = c("2x2", "vertical", "horizontal"),
  show_curve = FALSE,
  rel_heights = c(1, 0.7)
)
}
\arguments{
\item{diag}{An object of class \code{"r4pde_curve_diagnostics"}.}

\item{layout}{Layout of diagnostic panels: \code{"2x2"}, \code{"vertical"},
or \code{"horizontal"}.}

\item{show_curve}{Logical; whether to include the example adjusted curve.}

\item{rel_heights}{Relative heights for panels when stacking.}
}
\value{
A composite plot object generated using \pkg{cowplot}.
}
\description{
Combines multiple diagnostic plots from
\code{\link{diagnose_curves}} into a multi-panel layout.
}
