expand_range

0th

Percentile

Expand a range with a multiplicative or additive constant.

Expand a range with a multiplicative or additive constant.

Usage
expand_range(range, mul = 0, add = 0, zero_width = 1)
Arguments
range
range of data, numeric vector of length 2
mul
multiplicative constract
add
additive constant
zero_width
distance to use if range has zero width
Aliases
  • expand_range
Documentation reproduced from package scales, version 0.2.0, License: MIT

Community examples

Looks like there are no examples yet.