Description Usage Arguments Value
View source: R/transitionPlot_helpers.R
Used in order to illustrate the mixe between two
proportions in the transitionPlot
.
1 | prTpGetColors(colors, proportion, space)
|
colors |
A set of min. two colors that is used
for |
proportion |
A proportion or a set of proportions between 0 and 1. If you leave this out then the full color span will be returned. |
space |
If there is little or no difference exists at the low/high proportions of the spectrum then it can be of interest to focus the color change to the center leaving the tails constant |
character
The function can return both single colors
or multiple colors as character vector (see rgb
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.