Skip to contents

Create Sequence from Range

Usage

rangeToSequence(x)

Arguments

x

numeric vector with exactly two elements

Value

integer sequence between x[1] and x[2]

Examples

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