Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

grey_pal

Grey scale palette (discrete)


Description

Grey scale palette (discrete)

Usage

grey_pal(start = 0.2, end = 0.8)

Arguments

start

grey value at low end of palette

end

grey value at high end of palette

See Also

seq_gradient_pal() for continuous version

Examples

show_col(grey_pal()(25))
show_col(grey_pal(0, 1)(25))

scales

Scale Functions for Visualization

v1.1.1
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], Dana Seidel [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.