spread_integer | R Documentation |
Spread an integer to a given length
spread_integer(x, len)
x |
( |
len |
( |
If x
is a scalar whole number value (see is.wholenumber()
), the value x
is repeated len
times.
Otherwise, an error is thrown.
spread_integer(3, 1)
spread_integer(0, 3)
spread_integer(1, 3)
spread_integer(2, 3)
spread_integer(3, 3)
spread_integer(4, 3)
spread_integer(5, 3)
spread_integer(6, 3)
spread_integer(7, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.