adjacent_div {baizer} | R Documentation |
expand a number vector according to the adjacent two numbers
Description
expand a number vector according to the adjacent two numbers
Usage
adjacent_div(v, n_div = 10, .unique = FALSE)
Arguments
v |
number vector |
n_div |
how many divisions expanded by two numbers |
.unique |
only keep unique numbers |
Value
new number vector
Examples
adjacent_div(10^c(1:3), n_div = 10)
[Package baizer version 0.8.0 Index]