% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functional_dsp.R
\name{plot_dsp}
\alias{plot_dsp}
\title{Plot Disease Suppression Profiles}
\usage{
plot_dsp(
  object,
  time = NULL,
  response = NULL,
  treatment = NULL,
  group = NULL,
  facet = NULL,
  show_zero = TRUE,
  linewidth = 1,
  alpha = 1,
  ylab = "Disease suppression profile",
  xlab = "Time"
)
}
\arguments{
\item{object}{An object of class \code{"functional_dsp"}.}

\item{time}{Character string for the time column (auto-detected if object is \code{"functional_dsp"}).}

\item{response}{Character string for the DSP column.}

\item{treatment}{Character string for the treatment column.}

\item{group}{Optional character vector of grouping variables.}

\item{facet}{Optional character string specifying a variable for faceting.}

\item{show_zero}{Logical; whether to draw a horizontal reference line at y = 0. Default is \code{TRUE}.}

\item{linewidth}{Numeric; width of the lines.}

\item{alpha}{Numeric; transparency of the lines.}

\item{ylab}{Character string; label for the y-axis.}

\item{xlab}{Character string; label for the x-axis.}
}
\value{
A \code{ggplot} object.
}
\description{
Plots functional contrast curves (DSP) over time.
}
