powered by
Creates a sequence of integers. Modified version of seq returning an empty vector if the starting point is larger than the end point. Originally provided by rlang::seq2().
seq
rlang::seq2()
seq2(from, to)
A numerical sequence
The starting value of the sequence. Of length 1.
The end value of the sequence. Of length 1.
seq2(from = 1, to = 5)
Run the code above in your browser using DataLab