Learn R Programming

D3partitionR (version 0.5.0)

set_continuous_color_scale: Add a custom discrete color scale

Description

Add a custom discrete color scale

Usage

set_continuous_color_scale(D3partitionR_object, color_palette)

Arguments

D3partitionR_object

The D3partitionR object to which the data should be appended

color_palette

a vector of two colors, the first one is use on the bottom of the scale, the other on the top.

Value

A D3partitionR object