Description Usage Arguments Value Author(s) See Also Examples
This function is similar to split() but returns a list of (sub-)matrices.
1 | splitMatrix(x, col = 1)
|
x |
a matrix |
col |
column defining the grouping of the matrix |
A list of sub matrices.
Johannes Freudenberg
1 2 3 | x <- matrix(1:30, 6, 5)
x[,1] <- rep(1:3, times=2)
splitMatrix(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.