Learn R Programming

jmvcore (version 2.6.3)

colorPalette: A function that creates a color palette

Description

A function that creates a color palette

Usage

colorPalette(n = 5, pal = "jmv", type = "fill")

Value

a vector of hex color codes

Arguments

n

Number of colors needed

pal

Color palette name

type

'fill' or 'color'