char2pal: Creates a named color palette.

Description Usage Arguments Value Examples

Description

This is useful for defining a color palette that can be used by population factors.

Usage

1
char2pal(x, pal = rainbow)

Arguments

x

a vector of identifiers to be used for colors.

pal

a color palette. Default is rainbow

Value

a named character vector of hexadecimal colors.

Examples

1

zkamvar/ggcompoplot documentation built on May 4, 2019, 11:24 p.m.