ashR.autumn: Generate autumnal color palette.

Description Usage Arguments Value Examples

View source: R/autumn.R

Description

Generate autumnal color palette.

Usage

1
ashR.autumn(palette_name)

Arguments

palette_name

The short ID for the palette, e.g. "1.8".

Value

A vector of hexademicals of length 3, 5, or 8.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Assign palette to a name.
my_palette <- ashR.autumn("5.5")

# Concatenate two palettes for a larger custom palette.
custom <- c(ashR.autumn("2.8"), ashR.autumn("3.8"))

# Use with base R.
plot(iris$Sepal.Width,
     iris$Sepal.Length,
     col = ashR.autumn("1.5"))

jmaasch/ashR documentation built on Nov. 13, 2020, 11:30 p.m.