color_gradient: color gradient

View source: R/misc.R

color_gradientR Documentation

color gradient

Description

makes a function for getting gradient colors

Usage

color_gradient(x, colors = c("green", "red"), colsteps = 100)

Arguments

x

vector of values

colors

colors from which to form gradient.

colsteps

how many colors should be created?

Source

stackoverflow snippet

See Also

Other misc: %nin%(), as.bait(), as.goi(), bold(), catf(), color_distinct(), enumerate_replicate_combinations(), get_gg_legend(), hline(), italics(), lun(), null_omit(), shape_to_symbol(), symbol_to_shape(), vline()


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.