% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functional_rate.R
\name{plot.functional_rate}
\alias{plot.functional_rate}
\title{Plot functional_rate curves and rates}
\usage{
\method{plot}{functional_rate}(
  x,
  which = NULL,
  type = c("both", "curve", "rate"),
  show_ci = TRUE,
  show_threshold = TRUE,
  ncol = NULL,
  ...
)
}
\arguments{
\item{x}{An object of class \code{"functional_rate"}.}

\item{which}{Optional character vector specifying which treatments/groups to display.}

\item{type}{Character specifying what to plot: \code{"both"} (default; fitted curve
in top panel and derivative in bottom panel), \code{"curve"} (only trajectory),
or \code{"rate"} (only instantaneous rate).}

\item{show_ci}{Logical; whether to show confidence ribbons. Default is \code{TRUE}.}

\item{show_threshold}{Logical; whether to show threshold and zero horizontal lines.
Default is \code{TRUE}.}

\item{ncol}{Optional integer specifying number of facet columns.}

\item{...}{Additional arguments.}
}
\value{
A \code{ggplot} or combined \code{patchwork} object.
}
\description{
Plot functional_rate curves and rates
}
