Learn R Programming

prettyGraphs (version 1.0)

createColorVectorsByDesign: createColorVectorsByDesign

Description

Produces a color vector for items by using a design matrix.

Usage

createColorVectorsByDesign(design_matrix)

Arguments

design_matrix
A dummy coded design matrix.

Value

  • Produces a list with the following items
  • ocThe colors of the observations (based on group)
  • gcThe colors of the groups