split_matrix | R Documentation |
splitting a matrix to a list by a margin according to a vector of groups
split_matrix(mat, vector, byrow = TRUE)
mat |
a numeric matrix |
vector |
a vector of groups labels |
byrow |
boolean. Whether to split by rows or columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.