switch_cols: Switch palette colours

Description Usage Arguments

View source: R/palette-fns.R

Description

Switch the order of colours in the palette

Usage

1
switch_cols(p, id)

Arguments

p

Palette object

id

ID of the new positions e.g. c(2, 1, 3, 4)


doehm/myPalettes documentation built on March 2, 2020, 11:19 a.m.