spaMM (version 2.2.0)

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, adjustcolor_args=NULL)

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 recycled

redshift

The higher it is, the more the palette blushes....

adjustcolor_args

Either NULL or a list of arguments for adjustcolor, in which case adjustcolor is called to modify spaMM.colors's default vector of colors. See the documentation of the latter function for further information. All arguments except col are possible.

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
# NOT RUN {
## see mapMM examples
# }

Run the code above in your browser using DataCamp Workspace