R: Create a vector of colors

oceColorsPalette {oce} | R Documentation

## Create a vector of colors

### Description

Create a vector of colors

### Usage

    oceColorsPalette(n, which = 1)

### Arguments

`n` | number of colors to create
`which` | integer or character string indicating the palette to use; see “Details”.

### Details

The available schemes are:

- `which=1` for a red-white-blue scheme.

- `which=2` for a red-yellow-blue scheme.

- `which=9.01`, `which="9A"` or `which="jet"` for `oceColorsJet(n)`.

- `which=9.02` or `which="9B"` for `oceColors9B(n)`.

### See Also

Other things related to colors: `colormap`, `oceColors9B`, `oceColorsCDOM`, `oceColorsChlorophyll`, `oceColorsClosure`, `oceColorsDensity`, `oceColorsFreesurface`, `oceColorsGebco`, `oceColorsJet`, `oceColorsOxygen`, `oceColorsPAR`, `oceColorsPhase`, `oceColorsSalinity`, `oceColorsTemperature`, `oceColorsTurbidity`, `oceColorsTwo`, `oceColorsVelocity`, `oceColorsViridis`, `oceColorsVorticity`, `ocecolors`

[Package oce version 1.1-1 Index]