\HeaderA{ggvline}{Grob function: vline}{ggvline}
\keyword{hplot}{ggvline}
\begin{Description}\relax
Add vertical line(s) to a plot
\end{Description}
\begin{Usage}
\begin{verbatim}ggvline(plot = .PLOT, aesthetics=list(), ..., data=NULL)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{plot}] the plot object to modify
\item[\code{aesthetics}] named list of aesthetic mappings, see details for more information
\item[\code{...}] other options, see details for more information
\item[\code{data}] data source, if not specified the plot default will be used
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Aesthetic mappings that this grob function understands:

\Itemize{
\item none
}

Other options:

\Itemize{
\item \code{position}: vertical position(s) to draw lines
\item \code{colour}: line colour
\item \code{size}: line thickness
\item \code{linetype}: line type
\item \code{range}: x (or y if slope infinite) range to draw the line.  This is sometimes necessary because ggplot isn't smart enough to calculate the entire range of the data
}
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}p <- ggplot(mtcars, aesthetics=list(x = wt, y=mpg))
ggvline(ggpoint(p), position=mean(mtcars$wt), size=2)\end{ExampleCode}
\end{Examples}

