\HeaderA{qplot}{Quick plot.}{qplot}
\keyword{hplot}{qplot}
\begin{Description}\relax
Quick plot is a convenient wrapper function for creating simple ggplot plot objects.
\end{Description}
\begin{Usage}
\begin{verbatim}qplot(x, y = NULL, z=NULL, ..., data, facets = . ~ ., margins=FALSE, geom = "point", stat=list(NULL), position=list(NULL), xlim = c(NA, NA), ylim = c(NA, NA), log = "", main = NULL, xlab = deparse(substitute(x)), ylab = deparse(substitute(y)))\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] x values
\item[\code{y}] y values
\item[\code{z}] z values
\item[\code{...}] other arguments passed on to the geom functions
\item[\code{data}] data frame to use (optional)
\item[\code{facets}] facetting formula to use
\item[\code{margins}] whether or not margins will be displayed
\item[\code{geom}] geom to use (can be a vector of multiple names)
\item[\code{stat}] statistic to use (can be a vector of multiple names)
\item[\code{position}] position adjustment to use (can be a vector of multiple names)
\item[\code{xlim}] limits for x axis (aesthetics to range of data)
\item[\code{ylim}] limits for y axis (aesthetics to range of data)
\item[\code{log}] which variables to log transform ("x", "y", or "xy")
\item[\code{main}] character vector or expression for plot title
\item[\code{xlab}] character vector or expression for x axis label
\item[\code{ylab}] character vector or expression for y axis label
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
FIXME: describe how to get more information
FIXME: add more examples

\code{qplot} provides a quick way to create simple plots.
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}# Use data from data.frame
qplot(mpg, wt, data=mtcars)
qplot(mpg, wt, data=mtcars, colour=cyl)
qplot(mpg, wt, data=mtcars, size=cyl)
qplot(mpg, wt, data=mtcars, facets=vs ~ am)

# Use data from workspace environment
attach(mtcars)
qplot(mpg, wt)
qplot(mpg, wt, colour=cyl)
qplot(mpg, wt, size=cyl)
qplot(mpg, wt, facets=vs ~ am)

# Use different geoms
qplot(mpg, wt, geom="path")
qplot(factor(cyl), wt, geom=c("boxplot", "jitter"))\end{ExampleCode}
\end{Examples}

