% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{plot.extract}
\alias{plot.extract}
\title{Plot estimated public mood}
\usage{
\method{plot}{extract}(x, dim = 1L, title = "Estimated Public Mood", ylab = "Mood", ...)
}
\arguments{
\item{x}{A \code{extract} object.}

\item{dim}{Integer.  Which dimension to plot (1 or 2).  Default \code{1}.}

\item{title}{Character.  Plot title.  Default \code{"Estimated Public Mood"}.}

\item{ylab}{Character.  Y-axis label.  Default \code{"Mood"}.}

\item{...}{Additional arguments passed to the plotting function.}
}
\value{
Invisibly, the plot object (ggplot2) or \code{NULL} (base R).
}
\description{
Produces a time-series plot of the estimated latent mood.  Requires
\pkg{ggplot2}.  If \pkg{ggplot2} is not installed, falls back to base R
graphics.
}
