Description Usage Arguments Details Value Examples
Constructs iterators that generate regular sequences that follow the
seq family.
1 2 3 4 5 6 |
from |
the starting value of the sequence |
to |
the end value of the sequence |
by |
increment of the sequence. |
length_out |
desired length of the sequence. A non-negative number,
which for |
along_with |
the length of the sequence will match the length of this argument |
The iseq function generates a sequence of values beginning with
from and ending with to. The sequence of values between are
determined by the by, length_out, and along_with
arguments. The by argument determines the step size of the sequence,
whereas length_out and along_with determine the length of the
sequence. If by is not given, then it is determined by either
length_out or along_with. By default, neither are given, in
which case by is set to 1 or -1, depending on whether to >
from.
seq_along and seq_len return an iterator, which generates a
sequence of integers, beginning with 1 and proceeding to an ending value
sequence's iterator
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.