\HeaderA{con2tr}{Convert Lists to Data Frames for use by Lattice}{con2tr}
\keyword{misc}{con2tr}
\begin{Description}\relax
Convert lists to data frames for use by lattice.
\end{Description}
\begin{Usage}
\begin{verbatim}
con2tr(obj)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{obj}] A list of components \code{x}, \code{y} and \code{z} as passed to
\code{contour}.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{con2tr} repeats the \code{x} and \code{y} components suitably to
match the vector \code{z}.
\end{Details}
\begin{Value}
A data frame suitable for passing to lattice (formerly trellis) functions.
\end{Value}
\begin{References}\relax
Venables, W. N. and Ripley, B. D. (2002)
\emph{Modern Applied Statistics with S.} Fourth edition.  Springer.
\end{References}

