powered by
the nearest ticks around a number
nearest_tick(x, side = "both", level = NULL, div = 2)
nearest tick number
number
default as 'both', can be 'both|left|right'
the level of ticks, such as 1, 10, 100, etc.
number of divisions
nearest_tick(3462, level = 10)
Run the code above in your browser using DataLab