chunk | R Documentation |
Split a vector into chunks.
chunk(x, n)
x |
an vector. |
n |
length of chunk. |
For details, see https://bit.ly/2SM4m2G
return the split chunk.
x <- 1:10
n <- 3
chunk(x, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.