expand_range: Expand a range with a multiplicative or additive constant

View source: R/bounds.r

expand_rangeR Documentation

Expand a range with a multiplicative or additive constant

Description

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 constant

add

additive constant

zero_width

distance to use if range has zero width


scales documentation built on Aug. 20, 2022, 1:05 a.m.