## Niceness overrules specified number
niceBreaks(c(-1,1), 5)
niceBreaks(c(-1,1), 6)
## Zero appears always as break
niceBreaks(c(-2.75, 1.12), 8)
## Not invariant to translation (of course)
niceBreaks(3.27 + c(-2.75, 1.12), 8)
Run the code above in your browser using DataLab