rgcolors.func | R Documentation |
This function creates a vector of n “contiguous” colors,
corresponding to n intensities (between 0 and 1) of the red, green
and blue primaries, with the blue intensities set to zero. The
values returned by rgcolors.func
can be used with a
col=
specification in graphics functions or in
par
.
rgcolors.func(n=50)
n |
the number of colors (>= 1) to be used in the red and green palette. |
a character vector of color names. Colors are specified directly in terms of their RGB components with a string of the form "#RRGGBB", where each of the pairs RR, GG, BB consist of two hexadecimal digits giving a value in the range 00 to FF.
Sandrine Dudoit, sandrine@stat.berkeley.edu
Jane Fridlyand, janef@stat.berkeley.edu
plotCor
, plotMat
,
colors
, rgb
, image
.
rgcolors.func(n=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.