divergencePalette: Color palette for 'bias' plots.

Description Usage Arguments

View source: R/colorful-palettes.R

Description

Color palette for 'bias' plots.

Usage

1
2
divergencePalette(n = 64, zlim = c(-1, 1), col = c("dodgerblue3",
  "firebrick3"), symmetric = TRUE, p = 0.8, center = 0)

Arguments

n

Number of colors

zlim

Range of the variable, zero must be inside.

col

Vector of two colors, for the negative and positive values.

symmetric

Boolean, if TRUE makes the palette symmetric (same intensity given the absolute value of the variable).

p

Power to scale the increase in intensity. Default is 0.8, 1 gives linear decrease.

center

Center of the palette, zero by default.


roliveros-ramos/colorful documentation built on Nov. 22, 2019, 11:09 p.m.