| make_chunks | R Documentation | 
Split inputs into a number of chunks
make_chunks(x, size = length(x), nchunks = NULL, chunksize = NULL)
x | 
 A vector of inputs e.g. ids, neurons etc (optional, see examples)  | 
size | 
 The number of inputs (defaults to   | 
nchunks | 
 The desired number of chunks  | 
chunksize | 
 The desired number of items per chunk  | 
You must specify exactly one of nchunks and chunksize.
The elements of x split into a list of chunks or (when x is
missing) a vector of integer indices in the range 1:nchunks
specifying the chunk for each input element .
make_chunks(1:11, nchunks=2)
make_chunks(size=11, chunksize=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.