split2 | R Documentation |
Split vector x into chunks of equal size n
split2(x, n)
x |
a vector. |
n |
a numeric, size of n. |
x = 1:9
split2(x, 3)
split2(x, 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.