Learn R Programming

henna (version 0.7.5)

dpColors: Create a palette designed for densityPlot

Description

This function returns a palette designed for densityPlot.

Usage

dpColors(
  palette = c("cake", "cloudy", "grapes", "lava", "oasis", "orichalc", "sea", "sky")
)

Value

A character vector of colors.

Arguments

palette

One of 'lava', 'oasis', 'orichalc', 'sea' and 'sky'.

Examples

Run this code
dpColors('sea')

Run the code above in your browser using DataLab