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

RedGrayBlue

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)")

gge

Genotype Plus Genotype-by-Environment Biplots

v1.6
GPL-3
Authors
Kevin Wright [aut, cre] (<https://orcid.org/0000-0002-0617-8673>), Jean-Louis Laffont [aut]
Initial release
2020-12-15

We don't support your browser anymore

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