This function is used to chunk a vector into bins. It is primarily used to divide jobs sent to a certain number of parallel clusters.
The vector to be divided into chunks
The number of chunks in which to bin the vector.
This function returns a list of length num_chunks. Each element in the list contains the elements of the vector that were assigned to that bin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.