coloringLevels | R Documentation |
coloringLabels
:
creates a vector of color names for the levels
(i.e., columns)
of an MCA from the color names of the variables.
coloringLevels(levelsNames, colorOfVariables = NULL)
levelsNames |
The names of the levels of the
columns of an MCA as run, for example, by
|
colorOfVariables |
A vector of colors
for the variables (should match the values obtained from the
levels).
if |
If colorOfVariables
is provided
the colors are used in the order in which the variables
appear in the list of the levels.
A list with 2 vectors:
color4Levels
the colors of the labels
and color4Variables
the colors of the
variables (in the order in which they appeared).
Hervé Abdi
prettyGraphsColorSelection
getVarNames
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.