adjacent_div {baizer} | R Documentation |
expand a number vector according to the adjacent two numbers
adjacent_div(v, n_div = 10, .unique = FALSE)
v |
number vector |
n_div |
how many divisions expanded by two numbers |
.unique |
only keep unique numbers |
new number vector
adjacent_div(10^c(1:3), n_div = 10)