adjacent_div: expand a number vector according to the adjacent two numbers

View source: R/numbers.R

adjacent_divR 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)

baizer documentation built on Oct. 19, 2023, 9:07 a.m.