Description Usage Arguments Details Value Examples
make ascending and descending vector
1 |
n |
|
type |
(integer, default=1). If 1 the cascade index is returned. 2 returns the index of left and right side, 3 returns the length of the left and right index vector |
along a given length n make ascending indices until reaching the midpoint and descend afterwards again.
vector (type 1 or 3) or list (type 2)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.