MergePalette {RanglaPunjab}R Documentation

Merge Palette

Description

This function takes 2 or 3 palettes and returns a palette of 10 or 15 colors (in the unlikely event there are duplicates, then return less than 10 or 15)

Usage

MergePalette(name, name2 = NULL, name3 = NULL, ...)

Arguments

name

Name of 1st palette

name2

Name of 2nd palette

name3

Name of 3nd (optional) palette

...

Numeric, complex, or logical vectors

Value

Vector of 10 or 15 color values (in the unlikely event there are duplicates, then return less than 10 or 15 colors)

Examples

MergePalette("AmritsariKulcha", "Phulkari2")
MergePalette("Gidha", "Jutti2")
MergePalette("FieldsOfPunjab","GoldenTemple2","Jutti3")

[Package RanglaPunjab version 2.3.4 Index]