\HeaderA{map\_colour\_rgb}{Aesthetic mapping: rgb components of colour}{map.Rul.colour.Rul.rgb}
\aliasA{map\_color\_rgb}{map\_colour\_rgb}{map.Rul.color.Rul.rgb}
\keyword{hplot}{map\_colour\_rgb}
\begin{Description}\relax
Map variables to red, green or blue components.
\end{Description}
\begin{Usage}
\begin{verbatim}map_colour_rgb(r=0, g=0, b=0, a=1, r.to = c(0,1), g.to=c(0,1), b.to=c(0,1), a.to=c(0,1), r.from = range(r, na.rm=TRUE), g.from = range(g, na.rm=TRUE), b.from = range(b, na.rm=TRUE), a.from = range(a, na.rm=TRUE))\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{r}] red
\item[\code{g}] green
\item[\code{b}] blue
\item[\code{a}] alpha
\item[\code{r.to}] red to
\item[\code{g.to}] green to
\item[\code{b.to}] blue to
\item[\code{a.to}] alpha to
\item[\code{r.from}] 
\item[\code{g.from}] 
\item[\code{b.from}] 
\item[\code{a.from}] 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

