powered by
The function calls pretty for linear scale. For a log-scale nice are computed using a set of specified number in a decade.
pretty
nice(x, log = F, lpos = c(1, 2, 5), ...)
A vector of breakpoints.
Numerical vector to
Logical. Is the scale logartimic?
Numeric. Numbers between 1 and 10 giving the desired breakpoints in this interval.
Arguments passed on to pretty if log=FALSE
log
Bendix Carstensen, b@bxc.dk, http://bendixcarstensen.com
nice( exp( rnorm( 100 ) ), log=TRUE )
Run the code above in your browser using DataLab