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

rescale_pal

Rescale palette (continuous)


Description

Just rescales the input to the specific output range. Useful for alpha, size, and continuous position.

Usage

rescale_pal(range = c(0.1, 1))

Arguments

range

Numeric vector of length two, giving range of possible values. Should be between 0 and 1.


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.