Define a sequence of evenly spaced values from the minimum to the maximum of a vector
seq_range(x, n = 2)
| x | A numeric vector |
|---|---|
| n | An integer specifying the length of sequence (i.e., number of points across the range of |
A vector of length n.
#> [1] TRUEseq_range(1:5, n = 3)#> [1] 1 3 5