Skip to contents

generate ticks for a number vector

Usage

generate_ticks(x, expect_ticks = 10)

Arguments

x

number vector

expect_ticks

expected number of ticks, may be a little different from the result

Value

ticks number

Examples

generate_ticks(c(176, 198, 264))
#>  [1] 175 185 195 205 215 225 235 245 255 265