Description Usage Arguments Value Examples
View source: R/genericFunctions.R
Given a total number of elements n and batch_size, contruct a vector of length n where
1 | 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.
1 | splitIntoBatches(11,3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.