set_discrete_color_scale: Add a custom discrete color scale

Description Usage Arguments Value

Description

Add a custom discrete color scale

Usage

1
set_discrete_color_scale(D3partitionR_object, color_palette)

Arguments

D3partitionR_object

The D3partitionR object to which the data should be appended

color_palette

A vector (or a named vector with levels of the variable color)

Value

A D3partitionR object


D3partitionR documentation built on May 2, 2019, 6:36 a.m.