Description Usage Arguments Details Value Author(s) Examples
The color matrix shades
is expected to have an attribute 'reps' indicating
the number of shades for each main color (and, thus, the number of main colors.)
1 | show.shades(shades, orient = c("horizontal", "vertical"), r = 0.45, ...)
|
shades |
shades as produced by |
orient |
orientation for main colors |
r |
"radius" for color boxes, should be less than 0.5 |
... |
ignored |
The "base" colors are shown along the axis indicated by orient
, the shades
are stacked perpendicular to that. If the shades were created with dir = 'all'
,
the shade stacks are aligned on the base colors
none
Benno Pütz puetz@psych.mpg.de
1 2 | rainbow.shades <- color.shades(sample(1:10, 20, TRUE))
show.shades(rainbow.shades)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.