powered by
expand a number vector according to the adjacent two numbers
adjacent_div(v, n_div = 10, .unique = FALSE)
new number vector
number vector
how many divisions expanded by two numbers
only keep unique numbers
adjacent_div(10^c(1:3), n_div = 10)
Run the code above in your browser using DataLab