colorpanel: Generate a smoothly varying set of colors

View source: R/fromGplots.R

colorpanelR Documentation

Generate a smoothly varying set of colors

Description

colorpanel generate a set of colors that varies smoothly. redgreen, greenred, bluered, and redblue generate red-black-green, green-black-red, red-white-blue, and blue-white-red colorbars, respectively. colors

Usage

colorpanel(n, low, mid, high)

Arguments

n

Desired number of color elements in the panel.

low

Color to use for the lowest value.

mid

Color to use for the middle value. May be ommited.

high

Color to use for the highest values.

Value

Vector of HTML-style RGB colors.


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.