Examples for 'rlang::seq2'


Increasing sequence of integers in an interval

Aliases: seq2 seq2_along

Keywords:

### ** Examples

seq2(2, 10)
[1]  2  3  4  5  6  7  8  9 10
seq2(10, 2)
integer(0)
seq(10, 2)
[1] 10  9  8  7  6  5  4  3  2
seq2_along(10, letters)
 [1] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

[Package rlang version 1.1.4 Index]