Function for determining number of ticks on axis of ggplot2 plots.
Arguments
- n
integer giving the desired number of ticks on axis of
ggplot2 plots. Non-integer values are rounded down.
Value
a vector of axis-label breaks
Details
Based on function pretty.