scale_color_dune_c {Rdune}R Documentation

Dune palettes for plotting with 'ggplot2'

Description

Dune palettes for plotting with 'ggplot2'

Usage

scale_color_dune_c(name, ...)

Arguments

name

Name of palette. Run names(dune_palettes) to view options

...

Other arguments passed on to scale_color_gradientn

Value

An object defining a continuous color scale for use with 'ggplot2'.

Examples

library(ggplot2)
ggplot(data = mtcars, aes(x = mpg, y = disp, color = hp)) +
  geom_point() +
  scale_color_dune_c("atreides3")

[Package Rdune version 1.1.1 Index]