Learn R Programming

spaMM (version 1.7.2)

spaMM.colors: A flashy color palette.

Description

spaMM.colors is the default color palette for some color plots in spaMM.

Usage

spaMM.colors(n = 64, redshift = 1)

Arguments

n
Number of color levels returned by the function. A calling graphic function with argument nlevels will typically take the first (i.e., bluest) nlevels color levels. If n<nlevels, the color levels are
redshift
The higher it is, the more the palette blushes....

Value

  • A vector giving the colors in a hexadecimal format.

Details

If you don't like this color palette, have a look at the various ones provided by the fields package.

Examples

Run this code
## see mapMM examples

Run the code above in your browser using DataLab