inla.generate.colors {INLA} | R Documentation

## Generate text RGB color specifications.

### Description

since `⁠23.08.18⁠`. Use `fmesher::fm_generate_colors()` instead.

Generates a tex RGB color specification matrix based on a color palette.

### Usage

    inla.generate.colors(
      color,
      color.axis = NULL,
      color.n = 512,
      color.palette = cm.colors,
      color.truncate = FALSE,
      alpha = NULL
    )

### Arguments

`color` | `character`, `matrix` or `vector`
`color.axis` | The min/max limit values for the color mapping.
`color.n` | The number of colors to use in the color palette.
`color.palette` | A color palette function.
`color.truncate` | If `TRUE`, truncate the colors at the color axis limits.
`alpha` | Transparency/opaqueness values.

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

[Package INLA version 26.08.22 Index]