rangeExtended: Calculate Range, Extended a Little, as is Done for Axes

Description Usage Arguments Value Author(s)

View source: R/misc.R

Description

This is analogous to what is done as part of the R axis range calculation, in the case where xaxs="r".

Usage

1
rangeExtended(x, extend = 0.04)

Arguments

x

a numeric vector.

extend

fraction to extend on either end

Value

A two-element vector with the extended range of x.

Author(s)

Dan Kelley


oce documentation built on March 28, 2021, 9:09 a.m.