createColorVectorsByDesign {prettyGraphs} | R Documentation |
createColorVectorsByDesign
Description
Produces a color vector for items by using a design matrix.
Usage
createColorVectorsByDesign(design_matrix, hsv = TRUE, offset = NULL)
Arguments
design_matrix |
A dummy coded design matrix. |
hsv |
a boolean. If TRUE, use
|
offset |
numeric. An offset value to be passed to
|
Value
Produces a list with the following items
oc |
The colors of the observations (based on group) |
gc |
The colors of the groups |
Author(s)
Derek Beaton
[Package prettyGraphs version 2.2.0 Index]