seq2 | R Documentation |
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()
.
seq2(from, to)
from |
The starting value of the sequence. Of length 1. |
to |
The end value of the sequence. Of length 1. |
A numerical sequence
seq2(from = 1, to = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.