Learn R Programming

EMbC (version 2.0.4)

setc: Sets binClst color palette .

Description

setc sets the color palette to a color family from the RColorbrewer package

Usage

setc(bC, fam = "RdYlBu")

Arguments

bC

A binClst_instance.

fam

The name of a color family from the Rcolorbrewer R-package, (default color palette is 'RdYlBu' which is colorblind safe and print friendly up to 6 colors).

Examples

Run this code
# -- change the color palette of mybc to "PuOr" --
if (FALSE) {
setc(mybc,'PuOr')
}

Run the code above in your browser using DataLab