\HeaderA{map\_colour\_brewer}{Aesthetic mapping: Brewer colours}{map.Rul.colour.Rul.brewer}
\aliasA{map\_color}{map\_colour\_brewer}{map.Rul.color}
\aliasA{map\_color\_brewer}{map\_colour\_brewer}{map.Rul.color.Rul.brewer}
\aliasA{map\_colour}{map\_colour\_brewer}{map.Rul.colour}
\keyword{manip}{map\_colour\_brewer}
\begin{Description}\relax
Map categorical variables to Brewer colour scales
\end{Description}
\begin{Usage}
\begin{verbatim}map_colour_brewer(x, palette=1)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] data vector
\item[\code{palette}] palette number to use
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If x is not a factor, will be converted to one by \code{\LinkA{chop\_auto}{chop.Rul.auto}}.
Can display at most 9 different categories.

Unordered factors will use qualitative scales.
Ordered factors will use sequential scales.
Ordered factors with negative level will use diverging scales.
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

