Learn R Programming

scales (version 0.2.0)

cscale: Continuous scale.

Usage

cscale(x, palette, na.value = NA,
    trans = identity_trans())

Arguments

x
vector of continuous values to scale
palette
palette to use.

Built in palettes: [results=rd,stage=build]{scales:::seealso_pal()}

na.value{value to use for missing values}

trans{transformation object describing the how to transform the raw data pr