nearest_tick {baizer} | R Documentation |
the nearest ticks around a number
nearest_tick(x, side = "both", level = NULL, div = 2)
x |
number |
side |
default as 'both', can be 'both|left|right' |
level |
the level of ticks, such as 1, 10, 100, etc. |
div |
number of divisions |
nearest tick number
nearest_tick(3462, level = 10)