Learn R Programming

scales (version 0.1.0)

grey_pal: Grey scale palette (discrete).

Description

Grey scale palette (discrete).

Usage

grey_pal(start = 0.2, end = 0.8)

Arguments

start
gray value at low end of palette
end
gray value at high end of palette

See Also

seq_gradient_pal for continuous version

Examples

Run this code
show_col(grey_pal()(25))
show_col(grey_pal(0, 1)(25))

Run the code above in your browser using DataLab