\HeaderA{chop}{Chop}{chop}
\keyword{manip}{chop}
\begin{Description}\relax
Chop a continuous variable into a categorical variable.
\end{Description}
\begin{Usage}
\begin{verbatim}chop(x, n=5, method="quantiles", midpoint=0, digits=2)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] 
\item[\code{n}] 
\item[\code{method}] 
\item[\code{midpoint}] 
\item[\code{digits}] 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Chop provides a convenient interface to the main methods of
converting a continuous variable into a categorical variable.
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{chop.breaks}{chop.breaks}} to get breaks used
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

