serpentine | R Documentation |
This function produces a serpentine array of integers beginning by one
serpentine(n, times, m = 1)
n |
integer value indicating the upper cap of a numeric sequence |
times |
integer number of replications |
m |
integer value indicating the lower cap of a numeric sequence |
vector containing the serpentine sequence
serpentine(n=20,times = 15)
serpentine(n=20,times = 15,m=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.