Repeating of indexes

break_help(x)

Arguments

x

Numerical, vector.

Value

Numerical.

Examples

break_help(c(1, 2, 3))
#> [1] 1 2 2 3 3 3
break_help(c(6, 8, 23, 50))
#> [1] 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 #> [39] 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 #> [77] 4 4 4 4 4 4 4 4 4 4 4