colon | R Documentation |
Simulates the function colon()
and its equivalent :
operator from Matlab, which have a similar but not quite equivalent behavior
when compared to seq()
and :
in R.
colon(a, b)
a |
initial number |
b |
final number |
A vector containing a sequence of integers going from a to b
colon(1, 4) colon(4, 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.