Skip to contents

the ticks near a number

Usage

near_ticks(x, level = NULL, div = 2)

Arguments

x

number

level

the level of ticks, such as 1, 10, 100, etc.

div

number of divisions

Value

number vector of ticks

Examples

near_ticks(3462, level = 10)
#> [1] 3460 3465 3470