Learn R Programming

crunch (version 1.30.4)

palettes: Get the palettes from a crunch object

Description

CrunchDatasets have color palettes associated with them that can be used as default colors for dashboard tiles. One of them can be assigned the "default".

Usage

palettes(x)

defaultPalette(x, ...)

# S4 method for CrunchDataset palettes(x)

# S4 method for CrunchDataset defaultPalette(x, ...)

# S4 method for AnalyticPalettes defaultPalette(x, ...)

Arguments

x

A crunch object, like a CrunchDataset

...

ignored (reserved for future expansion)