ramps {rampage}R Documentation

Color gradient ramps

Description

Contains functions produced by the colorRampPalette function.

Usage

gradinv(n)

Arguments

n

(numeric) Number of different colors to generate from the palette

Details

You can also view single palettes individually. The following color palettes are implemented:

Value

A character vector of color values.

Examples

cols <- gradinv(20)
plot(1:20, col=cols, pch=16, cex=2)

[Package rampage version 0.2.0 Index]