spaMMcolors function

A flashy color palette.

A flashy color palette.

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

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.

Returns

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

## see mapMM examples
  • Maintainer: François Rousset
  • License: CeCILL-2
  • Last published: 2024-06-09