View source: R/transitionPlot_helpers.R
prTpGetBoxPropClr | R Documentation |
Gets the color for the given box
prTpGetBoxPropClr(clr, no_boxes, lengthOneOK = FALSE)
clr |
The color of the boxes, either a matrix, a vector of length two, or a single color |
no_boxes |
The number of boxes |
lengthOneOK |
If it is ok to have only one color |
matrix
With two columns and no_boxes rows.
If function fails then return NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.