Learn R Programming

tempR (version 0.10.1.1)

make.palettes: Convenience function for getting a pretty palette and highlight colours

Description

Make a vector of n pretty colours, and n matching highlight colours.

Usage

make.palettes(n)

Value

pal A character vector, cv, of colours that look pretty.

pal.light A character vector, cv, of matching highlight colours that look pretty.

Arguments

n

number of colours for each palette

Examples

Run this code
make.palettes(8)

Run the code above in your browser using DataLab