numericSequence | R Documentation |
numericSequence
Class
Constructs numericSequence
objects.
numericSequence(from, to, by, length.)
from |
start of the sequence. |
to |
end of the sequence. |
by |
increment for the sequence. |
length. |
length of the sequence; a non-negative integer. |
At least three of the four arguments must be supplied, unless the function is called with no arguments.
returns a numericSequence
object with properties given by the
arguments, or the default numericSequence
if no arguments are supplied.
numericSequence
class.
numericSequence()
# The following all produce a sequence running from 1 to 10:
numericSequence(1, 10, 1)
numericSequence(1, by = 1, length = 10)
numericSequence(1, 10, length = 10)
numericSequence(to = 10, by = 1, length = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.