Skip to contents

Function for using rksfunPalettes colors schemes in ggplot2. Use scale_color_rksfun_d and scale_fill_rksfun_d for discrete scales and scale_color_rksfun_c and scale_fill_rksfun_c for continuous scales.

Usage

scale_fill_rksfun_c(name, direction = 1, ...)

Arguments

name

Name of Palette. Choices are: rktbns_post, and tf2

direction

Sets order of colors. Default palette is 1. If direction is -1, palette color order is reversed

...

Other arguments passed on to scale_color_gradientn

Value

A function that returns a continuous color scale.