color.gradient: COLOR GRADIENT

Description Usage Arguments Value Examples

Description

calculates a data frame containing a sequence of colors from one color to a second one and a parallel sequence from 0 to 1

Usage

1
color.gradient(col.from = "red", col.to = "green", length.out = 2)

Arguments

col.from

first color in sequence

col.to

last color in sequence

length.out

length of sequence

Value

dataframe with color vector, a color sequence from col.from to col.to and sequence from 0 to 1

Examples

1
color.gradient( "red", "green", 16 )

TPeschel/hlpr4life documentation built on May 9, 2019, 2:25 p.m.