View source: R/rightleftorder.r
Order the numbers 1 through n
, starting at index i
and
proceeding rightward then leftward.
1 | rightleftorder(n, i)
|
n |
A positive integer. |
i |
An integer between 1 and |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.