rpretty.RdR's pretty algorithm implemented in R
minimum of the data range
maximum of the data range
number of axis labels
number of axis intervals (specify one of
m or n)
nonnegative integer giving the
minimal number of intervals. If min.n == 0,
pretty(.) may return a single value.
positive numeric by a which a default
scale is shrunk in the case when range(x) is very
small (usually 0).
non-negative numeric, typically
> 1. The interval unit is determined as
{1,2,5,10} times b, a power of 10. Larger
high.u.bias values favor larger units.
non-negative numeric multiplier favoring
factor 5 over 2. Default and 'optimal': u5.bias =
.5 + 1.5*high.u.bias.
vector of axis label locations
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.