Learn R Programming

constrainedKriging (version 0.2-11)

ck.colors: Colour Palette

Description

Create a vector of n contiguous colours based on hsv.

Usage

ck.colors(n)

Value

A character vector with n hex colour codes.

Arguments

n

a positive integer scalar with the numbers of colours in the palette.

Author

Christoph Hofer, christoph.hofer@alumni.ethz.ch

Examples

Run this code
ck.colors(3L)

Run the code above in your browser using DataLab