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 |
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 Mavericks binaries: | r-release: as.color_0.1.tgz, r-oldrel: as.color_0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=as.color to link to this page.