silastittes/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.

Getting started

Package details

AuthorSilas Tittes [aut, cre]
MaintainerSilas Tittes <silas.tittes@gmail.com>
LicenseGPL (>=2)
Version0.3
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("silastittes/as.color")
silastittes/as.color documentation built on May 4, 2019, 1:23 p.m.