Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

createColorVectorsByDesign

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 prettyGraphsHSVColorSelection. If FALSE, use prettyGraphsColorSelection.

offset

numeric. An offset value to be passed to prettyGraphsHSVColorSelection or prettyGraphsColorSelection.

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


prettyGraphs

Publication-Quality Graphics

v2.1.6
GPL-2
Authors
Derek Beaton
Initial release
2018-12-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.