splitIntoBatches | R Documentation |
Given a total number of elements n and batch_size, contruct a vector of length n where
splitIntoBatches(n, batch_size)
n |
Length of the vector |
batch_size |
Size of each batch |
vector of integers where each integer occurs at most batch_size times.
splitIntoBatches(11,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.