id vector with sequence of integers

id_vector(size, start = 1)

Arguments

size

integer, size of the output vector

start

integer, value of the first element

Examples

id_vector(10, 2)
#>  [1]  2  3  4  5  6  7  8  9 10 11