get.batches | R Documentation |
get.batches Split data into batches
get.batches(items, batch.size = NULL, shuffle = FALSE)
items |
A vector of items to be splitted into batches. |
batch.size |
Batch size. The last batch may contain less elements than the other batches which have batch.size elements each. |
shuffle |
Split the elements randomly in the batches. |
A list. Each element corresponds to one batch and contains a vector listing the elements in that batch.
Leo Lahti leo.lahti@iki.fi
See citation("RPA")
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.