pal_rescale: Rescale palette (continuous)

View source: R/pal-rescale.R

pal_rescaleR Documentation

Rescale palette (continuous)

Description

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

Usage

pal_rescale(range = c(0.1, 1))

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 documentation built on July 4, 2024, 1:11 a.m.