Usage Arguments Details Author(s)
View source: R/main.R View source: R/main.R
1 2 3 |
.matrix |
- A matrix to split into list; |
.chunksize |
- A number of rows in each list element; |
.matrix |
- A matrix you wish to divide into a list |
.chunksize |
- The number of rows of |
This code simply splits the rows of .matrix into a list where each element of the list
contains .chunksize number of rows of the input matrix. If .chunksize > nrow(.matrix) the code
will return a list with one element, the .matrix itself.
This function simply splits the provided matrix into N elements, each containing
.chunksize of rows of the original matrix. The list elements are mutually exclusive.
Ognjen Grujic (ognjengr@gmail.com)
Ogy Grujic (ogyg@stanford.edu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.