as.color: Assign Random Colors to Unique Items in a Vector

The as.color function takes an R vector of any class as an input, and outputs a vector of unique hexadecimal color values that correspond to the unique input values. This is most handy when overlaying points and lines for data that correspond to different levels or factors. The function will also print the random seed used to generate the colors. If you like the color palette generated, you can save the seed and reuse those colors.

Version: 0.1
Depends: R (≥ 3.2.4)
Published: 2016-06-20
Author: Silas Tittes [aut, cre]
Maintainer: Silas Tittes <silas.tittes at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: as.color results

Downloads:

Reference manual: as.color.pdf
Package source: as.color_0.1.tar.gz
Windows binaries: r-devel: as.color_0.1.zip, r-release: as.color_0.1.zip, r-oldrel: as.color_0.1.zip
OS X El Capitan binaries: r-release: as.color_0.1.tgz
OS X Mavericks binaries: r-oldrel: as.color_0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=as.color to link to this page.