Computes a sequence of equally spaced pretty values which cover range of the values in x

breaks_thl(x, n = 8, ...)

Arguments

x

vector which range should be covered by breaks

n

number of desired breaks

...

other pretty parameters

Examples

breaks_thl(c(0,140))
#> [1]   0  20  40  60  80 100 120 140
breaks_thl(c(0,20))
#>  [1]  0  2  4  6  8 10 12 14 16 18 20