kipp_pal: KIPP palettes with ramped colors

Description Usage Arguments Value Examples

View source: R/scales.R

Description

KIPP palettes with ramped colors

Usage

1
kipp_pal(palette = "kipp_div", alpha = 1, reverse = FALSE)

Arguments

palette

Choose from 'kipp_palettes' list

alpha

transparecny from 0 (completely transparent) to 1 (completely opaque)

reverse

If 'TRUE“, the direction of the color ramp is reversed.

Value

a function that takes the number of colors needed as an argument

Examples

1
2
3
4
library(scales)
show_col(kipp_pal()(10))

filled.contour(volcano,color.palette = kipp_pal(), asp=1)

kippchicago/kippcolors documentation built on Dec. 15, 2020, 7:34 p.m.