setc: Sets binClst color palette .

View source: R/methods.R

setcR Documentation

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

# -- change the color palette of mybc to "PuOr" --
## Not run: 
setc(mybc,'PuOr')

## End(Not run)

EMbC documentation built on Oct. 3, 2023, 5:07 p.m.