color.gradient: create a gradient of colors givent a vector of value

View source: R/tools.R

color.gradientR Documentation

create a gradient of colors givent a vector of value

Description

create a gradient of colors givent a vector of value

Usage

color.gradient(x, colors = c(myred, "yellow", mygreen), colsteps = 100)

Arguments

x

a vector of value to be matched with colors

colors

a vector of three colors

colsteps

the number of cilors groups


simoncarrignon/slsir documentation built on Feb. 11, 2024, 3:07 p.m.