rangeExtended {oce} | R Documentation |
Calculate range, extended a little, as is done for axes.
rangeExtended(x, extend=0.04)
x |
a numeric vector. |
extend |
fraction to extend on either end |
This is analogous to what is done as part of the R axis range
calculation, in the case where xaxs="r"
.
A two-element vector with the extended range of x
.
Dan Kelley