View source: R/transitionClass_helpers.R
prTcValidateAndPrepClr | R Documentation |
The colors need to match the size of the transition matrix and therefore we need to have this input check. The output is always a matrix of the exact same dimensions as the transition matrix.
prTcValidateAndPrepClr(value, no_cols, no_rows, is3D)
value |
The color values |
no_cols |
The no. of columns in the transition matrix |
no_rows |
All the row counts in the transition plot |
is3D |
Whether the transition matrix has 3 dimensions |
matrix
Returns a matrix of the same size as the
transition matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.