Learn R Programming

baizer (version 0.8.0)

nearest_tick: the nearest ticks around a number

Description

the nearest ticks around a number

Usage

nearest_tick(x, side = "both", level = NULL, div = 2)

Value

nearest tick number

Arguments

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

Examples

Run this code
nearest_tick(3462, level = 10)

Run the code above in your browser using DataLab