seq_range | R Documentation |
Generate regular sequence from a range. Wrapper function for
seq()
.
seq_range(range, by = NA, length.out = NULL)
range |
Vector with starting and end values of the sequence. Only first two elements are considered. |
by |
Number; increment of the sequence. |
length.out |
Desired length of the sequence. A non-negative number, which will be rounded up if fractional. |
Returns a vector of type "integer" or "double": programmers should not rely on which.
Michaja Pehl
seq()
, range()
seq_range(range(1:13), by = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.