\HeaderA{plot.data.frame}{Plot Method for Data Frames}{plot.data.frame}
\keyword{hplot}{plot.data.frame}
\keyword{methods}{plot.data.frame}
\begin{Description}\relax
\code{plot.data.frame}, a method for the \code{\LinkA{plot}{plot}} generic.
It is designed for a quick look at numeric data frames.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'data.frame':
plot(x, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] object of class \code{data.frame}.
\item[\code{...}] further arguments to \code{\LinkA{stripchart}{stripchart}},
\code{\LinkA{plot.default}{plot.default}} or \code{\LinkA{pairs}{pairs}}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This is intended for data frames with \emph{numeric} columns. For more
than two columns it first calls \code{\LinkA{data.matrix}{data.matrix}} to convert
the data frame to a numeric matrix and then calls \code{\LinkA{pairs}{pairs}}
to produce a scatterplot matrix).  This can fail and may well be
inappropriate: for example numerical conversion of dates will lose
their special meaning and a warning will be given.

For a two-column data frame it plots the second column against the
first by the most appropriate method for the first column.

For a single numeric column it uses \code{\LinkA{stripchart}{stripchart}}, and for
other single-column data frames tries to find a plot method for the
single column.
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{data.frame}{data.frame}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
plot(OrchardSprays[1], method="jitter")
plot(OrchardSprays[c(4,1)])
plot(OrchardSprays)

plot(iris)
plot(iris[5:4])
plot(women)
\end{ExampleCode}
\end{Examples}

