% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/autoplot-es_result.R
\name{autoplot.es_result}
\alias{autoplot.es_result}
\title{Autoplot for event-study results}
\usage{
\method{autoplot}{es_result}(object, ci_level = 0.95, type = "ribbon", ...)
}
\arguments{
\item{object}{An \code{es_result} returned by \code{run_es()}.}

\item{ci_level}{Confidence level (numeric, e.g., 0.95). Passed to \code{plot_es()}.}

\item{type}{Plot type: \code{"ribbon"} (default) or \code{"errorbar"}. Passed to \code{plot_es()}.}

\item{...}{Additional arguments forwarded to \code{\link{plot_es}}.}
}
\value{
A \code{ggplot2} \code{ggplot} object.
}
\description{
S3 method that plots an \code{es_result} (from \code{run_es()}).
It forwards arguments to \code{\link{plot_es}}.
}
\examples{
# res <- run_es(...)
# ggplot2::autoplot(res, ci_level = 0.95, type = "ribbon")

}
