split_into | R Documentation |
This function splits a vector into n
parts of roughly
equal size. These splits can be used for parallel processing. In general,
n
should be equal to the number of jobs you want to run, which
should be the number of cores you want to use.
split_into(vec, n)
vec |
input vector |
n |
|
list
with n
elements, each of roughly equal length
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.