RedGrayBlue: Function to create a Red-Gray-Blue palette

RedGrayBlueR Documentation

Function to create a Red-Gray-Blue palette

Description

A function to create a Red-Gray-Blue palette.

Usage

RedGrayBlue(n)

Arguments

n

Number of colors to create

Details

Using gray instead of white allows missing values to appear as white (actually, transparent).

Value

A vector of n colors.

Author(s)

Kevin Wright

Examples

pie(rep(1,11), col=RedGrayBlue(11))
title("RedGrayBlue(11)")

kwstat/desplot documentation built on July 19, 2024, 10:25 p.m.