Learn R Programming

tempR (version 0.10.1.1)

pretty_palette: Get a pretty palette of colours

Description

Create a vector of n pretty colours.

Usage

pretty_palette(n)

Value

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

Arguments

n

number of colours in the palette

Examples

Run this code
pretty_palette(8)

Run the code above in your browser using DataLab