Learn R Programming

oce (version 1.8-3)

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

Description

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

Usage

rangeExtended(x, extend = 0.04)

Value

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

Arguments

x

a numeric vector.

extend

fraction to extend on either end

Author

Dan Kelley