% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dm_sea.R
\name{plot.dm_epoch}
\alias{plot.dm_epoch}
\title{Plot a dm_epoch object}
\usage{
\method{plot}{dm_epoch}(
  x,
  y = NULL,
  type = c("composite", "heatmap", "difference"),
  variables = NULL,
  facet = TRUE,
  show_ci = TRUE,
  legend_position = "right",
  ...
)
}
\arguments{
\item{x}{Object of class \code{"dm_epoch"}.}

\item{y}{Unused.}

\item{type}{Plot type. One of \code{"composite"}, \code{"heatmap"}, or
\code{"difference"}.}

\item{variables}{Optional climate variables to plot.}

\item{facet}{Logical. If \code{TRUE}, facet by variable.}

\item{show_ci}{Logical. If \code{TRUE} and \code{x} is a
\code{"dm_epoch_test"} object, show the null confidence ribbon.}

\item{legend_position}{Legend position passed to [ggplot2::theme()].}

\item{...}{Unused.}
}
\value{
A \code{ggplot} object.
}
\description{
Plot a dm_epoch object
}
