Learn R Programming

TreeSearch (version 0.3.2)

SupportColour: Support colour

Description

Support colour

Usage

SupportColour(support, show1 = TRUE)

SupportColor(support, show1 = TRUE)

Arguments

support

A vector of doubles in the range 0-1

show1

Logical specifying whether to display values of 1. A transparent white will be returned if FALSE.

Value

A string containing the hexadecimal code for a colour picked from a diverging scale, or red if a value is invalid.

Functions

  • SupportColor: alternative spelling