Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vreScale2Colours

Scale a number from a range into a colour gradient.


Description

vreScale2Colours takes a value from a range and scales it proportionally into a colour from a colour gradient.

Usage

vreScale2Colours(clr1, clr2, vMin, vMax, value)

Arguments

clr1

The colour representing the lower value of the target range.

clr2

The colour representing the upper value of the target range.

vMin

The lower value of the source range.

vMax

The upper value of the source range.

value

The source value to rescale into the target range.

Value

The value scaled into the target colour gradient.


basictabler

Construct Rich Tables for Output to 'HTML'/'Excel'

v1.0.0
GPL-3
Authors
Christopher Bailiss [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.