grid.pretty {grid} | R Documentation |
Produces a pretty set of of approximately n
breakpoints within the
range given.
This is a direct interface to R's graphical engine GEpretty()
function, which also underlies base graphics' package
axis()
, axTicks()
, etc.
grid.pretty(range, n = 5)
range |
a numeric vector of length at least two, as e.g., returned
by |
n |
a non-negative integer specifying the approximate number of breakpoints to be produced. |
A numeric vector of “pretty” breakpoints.
Paul Murrell