make.pal: Make Pal

View source: R/pal.R

make.palR Documentation

Make Pal

Description

Make Pal

Usage

make.pal(
  x,
  n = 255,
  min = NA,
  max = NA,
  pal = "greyscale",
  rev = FALSE,
  clip = FALSE
)

Arguments

x

the values to be color coded

n

the number of distinct colors to use

min

the minimum value to correspond to the first color

max

the maximum value to correspond to the last color

pal

the pallete to use, default is ocean.haline

rev

Boolean, reverse the color pallete?

clip

boolean, remove out of range values? Defaults to False

Author(s)

Thomas Bryce Kelly


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.